Files
haiku-beta6/headers/private/kernel/kmodule.h
T

41 lines
883 B
C++
Raw Normal View History

2002-09-23 02:36:51 +00:00
/*
* Copyright 2005-2008, Axel Dörfler, [email protected].
* Distributed under the terms of the MIT License.
*/
2002-09-23 02:36:51 +00:00
#ifndef _KERNEL_MODULE_H
#define _KERNEL_MODULE_H
2002-09-23 02:36:51 +00:00
#include <drivers/module.h>
#include <kernel.h>
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
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 status_t module_init_post_threads(void);
extern status_t module_init_post_boot_device(bool bootingFromBootLoaderVolume);
#ifdef __cplusplus
}
#endif
2002-09-23 02:36:51 +00:00
#endif /* _KRENEL_MODULE_H */