* Preparations for a module listener API - this will be used in the (disk)

device managers.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26239 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2008-07-03 11:52:36 +00:00
parent 9380c00233
commit 0875ae984f
2 changed files with 344 additions and 151 deletions
+11 -2
View File
@@ -1,6 +1,5 @@
/*
* Copyright 2005, Axel Dörfler, [email protected]. All rights reserved.
*
* Copyright 2005-2008, Axel Dörfler, [email protected].
* Distributed under the terms of the MIT License.
*/
#ifndef _KERNEL_MODULE_H
@@ -14,6 +13,16 @@ struct kernel_args;
#ifdef __cplusplus
// C++ only part
class NotificationListener;
extern status_t start_watching_modules(const char *prefix,
NotificationListener &listener);
extern status_t stop_watching_modules(const char *prefix,
NotificationListener &listener);
extern "C" {
#endif