1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00
irssi/src/core/modules-load.h

17 lines
460 B
C
Raw Normal View History

#ifndef __MODULES_LOAD_H
#define __MODULES_LOAD_H
#include "modules.h"
/* 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