2008-05-08 19:08:14 +04:00
|
|
|
/*
|
|
|
|
* Copyright 2003-2008, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
2003-01-26 20:27:42 +03:00
|
|
|
#ifndef _KERNEL_DAEMON_H
|
|
|
|
#define _KERNEL_DAEMON_H
|
2008-05-08 19:08:14 +04:00
|
|
|
|
2003-01-26 20:27:42 +03:00
|
|
|
|
2008-08-22 05:13:18 +04:00
|
|
|
#include <KernelExport.h>
|
2003-01-26 20:27:42 +03:00
|
|
|
|
2008-05-08 19:08:14 +04:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2008-08-22 05:13:18 +04:00
|
|
|
extern "C" {
|
2008-05-08 19:08:14 +04:00
|
|
|
#endif
|
2008-08-22 05:13:18 +04:00
|
|
|
|
|
|
|
status_t register_resource_resizer(daemon_hook function, void* arg,
|
|
|
|
int frequency);
|
|
|
|
status_t unregister_resource_resizer(daemon_hook function, void* arg);
|
|
|
|
|
2008-05-08 19:08:14 +04:00
|
|
|
status_t kernel_daemon_init(void);
|
2003-01-26 20:27:42 +03:00
|
|
|
|
2008-08-22 05:13:18 +04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2008-05-15 16:08:13 +04:00
|
|
|
#endif /* _KERNEL_DAEMON_H */
|