btrfs: [] on the end of a struct field is a variable length array.
[haiku.git] / headers / private / kernel / kernel_daemon.h
blob9743f6ac394ee336c9cd4a4a8e496e447fb169d6
1 /*
2 * Copyright 2003-2008, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _KERNEL_DAEMON_H
6 #define _KERNEL_DAEMON_H
9 #include <KernelExport.h>
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
16 status_t register_resource_resizer(daemon_hook function, void* arg,
17 int frequency);
18 status_t unregister_resource_resizer(daemon_hook function, void* arg);
20 status_t kernel_daemon_init(void);
22 #ifdef __cplusplus
24 #endif
26 #endif /* _KERNEL_DAEMON_H */