2 * Copyright 2005-2008, Axel Dörfler, axeld@pinc-software.de.
3 * Distributed under the terms of the MIT License.
5 #ifndef _KERNEL_MODULE_H
6 #define _KERNEL_MODULE_H
9 #include <drivers/module.h>
18 class NotificationListener
;
20 extern status_t
start_watching_modules(const char *prefix
,
21 NotificationListener
&listener
);
22 extern status_t
stop_watching_modules(const char *prefix
,
23 NotificationListener
&listener
);
29 extern status_t
unload_module(const char *path
);
30 extern status_t
load_module(const char *path
, module_info
***_modules
);
32 extern status_t
module_init(struct kernel_args
*args
);
33 extern status_t
module_init_post_threads(void);
34 extern status_t
module_init_post_boot_device(bool bootingFromBootLoaderVolume
);
40 #endif /* _KRENEL_MODULE_H */