]> git.decadent.org.uk Git - ion3.git/blob - ioncore/modules.h
Imported Upstream version 20090110
[ion3.git] / ioncore / modules.h
1 /*
2  * ion/ioncore/modules.h
3  *
4  * Copyright (c) Tuomo Valkonen 1999-2009. 
5  *
6  * See the included file LICENSE for details.
7  */
8
9 #ifndef ION_IONCORE_MODULES_H
10 #define ION_IONCORE_MODULES_H
11
12 #include "common.h"
13
14 extern bool ioncore_load_module(const char *name);
15 extern void ioncore_unload_modules();
16 extern bool ioncore_init_module_support();
17
18 typedef struct{
19     const char *name;
20     bool (*init)();
21     void (*deinit)();
22     bool loaded;
23 } WStaticModuleInfo;
24
25 #endif /* ION_IONCORE_MODULES_H */