From ae98666bc6111d1940d3b14fc4566b262cba2c87 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Wed, 16 Apr 2008 14:44:02 +0200 Subject: Added "toggle" value for /set on boolean options, fixed refresh bugs, added option type for infolist "options" --- src/plugins/weechat-plugin.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/plugins/weechat-plugin.h') 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) \ -- cgit v1.2.3