77b93362c2
* Added a second kernel daemon service, resource resizer, which is mainly supposed to be used for resizing allocations asynchrounously. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27122 a95241bf-73f2-0310-859d-f6bbb57e9c96
27 lines
516 B
C
27 lines
516 B
C
/*
|
|
* Copyright 2003-2008, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _KERNEL_DAEMON_H
|
|
#define _KERNEL_DAEMON_H
|
|
|
|
|
|
#include <KernelExport.h>
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
status_t register_resource_resizer(daemon_hook function, void* arg,
|
|
int frequency);
|
|
status_t unregister_resource_resizer(daemon_hook function, void* arg);
|
|
|
|
status_t kernel_daemon_init(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _KERNEL_DAEMON_H */
|