2019-05-01 16:22:22 -04:00
|
|
|
#ifndef IRSSI_CORE_MODULES_LOAD_H
|
|
|
|
#define IRSSI_CORE_MODULES_LOAD_H
|
2001-08-13 20:41:59 -04:00
|
|
|
|
2019-05-01 10:33:47 -04:00
|
|
|
#include <irssi/src/core/modules.h>
|
2001-08-13 20:41:59 -04:00
|
|
|
|
|
|
|
/* Load module - automatically tries to load also the related non-core
|
|
|
|
modules given in `prefixes' (like irc, fe, fe_text, ..) */
|
|
|
|
int module_load(const char *path, char **prefixes);
|
|
|
|
|
|
|
|
/* Load a sub module. */
|
|
|
|
int module_load_sub(const char *path, const char *submodule, char **prefixes);
|
|
|
|
|
|
|
|
void module_unload(MODULE_REC *module);
|
|
|
|
void module_file_unload(MODULE_FILE_REC *file);
|
|
|
|
|
|
|
|
#endif
|