2002-09-23 06:36:51 +04:00
|
|
|
/*
|
2005-01-18 05:34:00 +03:00
|
|
|
* Copyright 2005, Axel Dörfler, axeld@pinc-software.de. All rights reserved.
|
|
|
|
*
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
2002-09-23 06:36:51 +04:00
|
|
|
#ifndef _KERNEL_MODULE_H
|
|
|
|
#define _KERNEL_MODULE_H
|
|
|
|
|
2005-01-18 05:34:00 +03:00
|
|
|
|
2002-09-23 06:36:51 +04:00
|
|
|
#include <drivers/module.h>
|
|
|
|
#include <kernel.h>
|
|
|
|
|
2003-05-03 20:03:26 +04:00
|
|
|
struct kernel_args;
|
|
|
|
|
2005-01-18 05:34:00 +03:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
extern status_t unload_module(const char *path);
|
|
|
|
extern status_t load_module(const char *path, module_info ***_modules);
|
|
|
|
|
2004-04-27 01:04:06 +04:00
|
|
|
extern status_t module_init(struct kernel_args *args);
|
2005-01-18 05:34:00 +03:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
2002-09-23 06:36:51 +04:00
|
|
|
|
|
|
|
#endif /* _KRENEL_MODULE_H */
|