xref: /haiku/headers/private/kernel/kmodule.h (revision 4f00613311d0bd6b70fa82ce19931c41f071ea4e)
1 /*
2  * Copyright 2005, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
3  *
4  * Distributed under the terms of the MIT License.
5  */
6 #ifndef _KERNEL_MODULE_H
7 #define _KERNEL_MODULE_H
8 
9 
10 #include <drivers/module.h>
11 #include <kernel.h>
12 
13 struct kernel_args;
14 
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
20 extern status_t unload_module(const char *path);
21 extern status_t load_module(const char *path, module_info ***_modules);
22 
23 extern status_t module_init(struct kernel_args *args);
24 
25 #ifdef __cplusplus
26 }
27 #endif
28 
29 #endif	/* _KRENEL_MODULE_H */
30