diff --git a/headers/private/kernel/kmodule.h b/headers/private/kernel/kmodule.h index 28503806e2..6114bb5606 100644 --- a/headers/private/kernel/kmodule.h +++ b/headers/private/kernel/kmodule.h @@ -1,17 +1,29 @@ /* -** Copyright 2001-2002, Thomas Kurschel. All rights reserved. -** Distributed under the terms of the NewOS License. -*/ - + * Copyright 2005, Axel Dörfler, axeld@pinc-software.de. All rights reserved. + * + * Distributed under the terms of the MIT License. + */ #ifndef _KERNEL_MODULE_H #define _KERNEL_MODULE_H + #include #include struct kernel_args; + +#ifdef __cplusplus +extern "C" { +#endif + +extern status_t unload_module(const char *path); +extern status_t load_module(const char *path, module_info ***_modules); + extern status_t module_init(struct kernel_args *args); -extern void module_test(void); + +#ifdef __cplusplus +} +#endif #endif /* _KRENEL_MODULE_H */