diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2005-10-25 17:37:13 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2005-10-25 17:37:13 +0000 |
commit | 0f055b087a0776c03ced34eafeb4d0b94e27a781 (patch) | |
tree | ec651371daba90e03688d7c2c51d6f1dd6297c13 /src/plugins/plugins.h | |
parent | 0e531f5e6a964d4b2a234e17052f4a254227af41 (diff) | |
download | weechat-0f055b087a0776c03ced34eafeb4d0b94e27a781.zip |
- Added options for /plugin command: autoload, reload, unload
- Added new plugin functions, for C plugins and scripts: set_config, get_plugin_config, set_plugin_config
- Added new script function: remove_handler
Diffstat (limited to 'src/plugins/plugins.h')
-rw-r--r-- | src/plugins/plugins.h | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/src/plugins/plugins.h b/src/plugins/plugins.h index 99274460e..25bb2f1e1 100644 --- a/src/plugins/plugins.h +++ b/src/plugins/plugins.h @@ -34,22 +34,20 @@ extern t_gui_buffer *plugin_find_buffer (char *, char *); extern void plugin_exec_on_files (t_weechat_plugin *, char *, int (*)(t_weechat_plugin *, char *)); extern t_weechat_plugin *plugin_search (char *); -extern t_plugin_msg_handler *plugin_msg_handler_add (t_weechat_plugin *, char *, - t_plugin_handler_func *, - char *, void *); -extern t_plugin_cmd_handler *plugin_cmd_handler_add (t_weechat_plugin *, char *, - char *, char *, char *, - t_plugin_handler_func *, - char *, void *); +extern t_plugin_handler *plugin_msg_handler_add (t_weechat_plugin *, char *, + t_plugin_handler_func *, + char *, void *); +extern t_plugin_handler *plugin_cmd_handler_add (t_weechat_plugin *, char *, + char *, char *, char *, + t_plugin_handler_func *, + char *, void *); extern int plugin_msg_handler_exec (char *, char *, char *); extern int plugin_cmd_handler_exec (char *, char *, char *); -extern void plugin_msg_handler_remove (t_weechat_plugin *, - t_plugin_msg_handler *); -extern void plugin_cmd_handler_remove (t_weechat_plugin *, - t_plugin_cmd_handler *); -extern void plugin_msg_handler_remove_all (t_weechat_plugin *); -extern void plugin_cmd_handler_remove_all (t_weechat_plugin *); +extern void plugin_handler_remove (t_weechat_plugin *, + t_plugin_handler *); +extern void plugin_handler_remove_all (t_weechat_plugin *); extern t_weechat_plugin *plugin_load (char *); +extern void plugin_auto_load (); extern void plugin_remove (t_weechat_plugin *); extern void plugin_unload (t_weechat_plugin *); extern void plugin_unload_name (char *); |