haiku/headers/private/kernel/kernel_daemon.h
Ingo Weinhold 77b93362c2 * Refactored the kernel daemon code into a class.
* 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
2008-08-22 01:13:18 +00:00

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 */