1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-02 15:53:12 +02:00

Added new plugins functions: set_config, get_plugin_config, set_plugin_config.

New file is used to store plugin variables (~/.weechat/plugins.rc)
This commit is contained in:
Sebastien Helleu
2005-10-23 22:07:18 +00:00
parent b7484eeea7
commit 32a7fbb767
32 changed files with 2960 additions and 1334 deletions
+16
View File
@@ -30,9 +30,25 @@ typedef void (t_weechat_end_func) (t_weechat_plugin *);
extern t_weechat_plugin *weechat_plugins;
extern t_weechat_plugin *last_weechat_plugin;
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 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 t_weechat_plugin *plugin_load (char *);
extern void plugin_remove (t_weechat_plugin *);
extern void plugin_unload (t_weechat_plugin *);