1 #ifndef __MODULES_LOAD_H
2 #define __MODULES_LOAD_H
6 /* Load module - automatically tries to load also the related non-core
7 modules given in `prefixes' (like irc, fe, fe_text, ..) */
8 int module_load(const char *path, char **prefixes);
10 /* Load a sub module. */
11 int module_load_sub(const char *path, const char *submodule, char **prefixes);
13 void module_unload(MODULE_REC *module);
14 void module_file_unload(MODULE_FILE_REC *file);