xref: /haiku/headers/private/kernel/kernel_daemon.h (revision 77b93362c2a5a63cfcac4e9f778b657a40b465e2)
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
7 
8 
9 #include <KernelExport.h>
10 
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
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);
19 
20 status_t kernel_daemon_init(void);
21 
22 #ifdef __cplusplus
23 }
24 #endif
25 
26 #endif	/* _KERNEL_DAEMON_H */
27