2008-05-08 15:08:14 +00: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 17:27:42 +00:00
|
|
|
#ifndef _KERNEL_DAEMON_H
|
|
|
|
#define _KERNEL_DAEMON_H
|
2008-05-08 15:08:14 +00:00
|
|
|
|
2003-01-26 17:27:42 +00:00
|
|
|
|
2008-08-22 01:13:18 +00:00
|
|
|
#include <KernelExport.h>
|
2003-01-26 17:27:42 +00:00
|
|
|
|
2008-05-08 15:08:14 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2008-08-22 01:13:18 +00:00
|
|
|
extern "C" {
|
2008-05-08 15:08:14 +00:00
|
|
|
#endif
|
2008-08-22 01:13:18 +00: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 15:08:14 +00:00
|
|
|
status_t kernel_daemon_init(void);
|
2003-01-26 17:27:42 +00:00
|
|
|
|
2008-08-22 01:13:18 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2008-05-15 12:08:13 +00:00
|
|
|
#endif /* _KERNEL_DAEMON_H */
|