Update contrib
[notion/jeffpc.git] / ioncore / modules.h
blob6118ab890521f6806de3896c8f4a77fcac0c8f1e
1 /*
2 * ion/ioncore/modules.h
4 * Copyright (c) Tuomo Valkonen 1999-2009.
6 * See the included file LICENSE for details.
7 */
9 #ifndef ION_IONCORE_MODULES_H
10 #define ION_IONCORE_MODULES_H
12 #include "common.h"
14 extern bool ioncore_load_module(const char *name);
15 extern void ioncore_unload_modules();
16 extern bool ioncore_init_module_support();
18 typedef struct{
19 const char *name;
20 bool (*init)();
21 void (*deinit)();
22 bool loaded;
23 } WStaticModuleInfo;
25 #endif /* ION_IONCORE_MODULES_H */