diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-04-16 14:44:02 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-04-16 14:44:02 +0200 |
commit | ae98666bc6111d1940d3b14fc4566b262cba2c87 (patch) | |
tree | 3bf80e92854c46b8fcef0270cf3df94cad028b6c /src/plugins/weechat-plugin.h | |
parent | 7489ec9a4041039719334c9d0406e31775132cc7 (diff) | |
download | weechat-ae98666bc6111d1940d3b14fc4566b262cba2c87.zip |
Added "toggle" value for /set on boolean options, fixed refresh bugs, added option type for infolist "options"
Diffstat (limited to 'src/plugins/weechat-plugin.h')
-rw-r--r-- | src/plugins/weechat-plugin.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/weechat-plugin.h b/src/plugins/weechat-plugin.h index 1206ef0f4..4fdea2b2a 100644 --- a/src/plugins/weechat-plugin.h +++ b/src/plugins/weechat-plugin.h @@ -390,7 +390,8 @@ struct t_weechat_plugin char *(*info_get) (struct t_weechat_plugin *plugin, char *info); /* infolists */ - struct t_plugin_infolist *(*infolist_get) (char *name, void *pointer); + struct t_plugin_infolist *(*infolist_get) (char *name, void *pointer, + char *arguments); int (*infolist_next) (struct t_plugin_infolist *infolist); int (*infolist_prev) (struct t_plugin_infolist *infolist); char *(*infolist_fields) (struct t_plugin_infolist *infolist); @@ -790,8 +791,8 @@ extern int weechat_plugin_end (struct t_weechat_plugin *plugin); weechat_plugin->info_get(weechat_plugin, __name) /* infolists */ -#define weechat_infolist_get(__name, __pointer) \ - weechat_plugin->infolist_get(__name, __pointer) +#define weechat_infolist_get(__name, __pointer, __arguments) \ + weechat_plugin->infolist_get(__name, __pointer, __arguments) #define weechat_infolist_next(__list) \ weechat_plugin->infolist_next(__list) #define weechat_infolist_prev(__list) \ |