summaryrefslogtreecommitdiff
path: root/src/plugins/plugin.h
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2017-07-04 22:05:11 +0200
committerSébastien Helleu <flashcode@flashtux.org>2017-07-04 22:14:44 +0200
commitb276d0621cb19f29af65fbe351c8c7d8234b2ed0 (patch)
tree20af09ecf19c688fac9c78bfd28eb49454495403 /src/plugins/plugin.h
parentf70c2e521ed07c37683f4d6cc48608c3e9505f0e (diff)
downloadweechat-b276d0621cb19f29af65fbe351c8c7d8234b2ed0.zip
core: add arguments in function plugin_auto_load to load plugins only from custom path or lib dir
Diffstat (limited to 'src/plugins/plugin.h')
-rw-r--r--src/plugins/plugin.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/plugin.h b/src/plugins/plugin.h
index 54df30aac..23adcc2f9 100644
--- a/src/plugins/plugin.h
+++ b/src/plugins/plugin.h
@@ -39,7 +39,8 @@ extern const char *plugin_get_name (struct t_weechat_plugin *plugin);
extern struct t_weechat_plugin *plugin_load (const char *filename,
int init_plugin,
int argc, char **argv);
-extern void plugin_auto_load (int argc, char **argv);
+extern void plugin_auto_load (int argc, char **argv, int load_from_plugin_path,
+ int load_from_lib_dir);
extern void plugin_unload (struct t_weechat_plugin *plugin);
extern void plugin_unload_name (const char *name);
extern void plugin_unload_all ();