From 8b3980f508972313c89a7fcb5a96fed3dccff7cc Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sun, 9 Dec 2007 11:47:34 +0100 Subject: Changes in IRC plugin to use new API --- src/plugins/weechat-plugin.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/plugins/weechat-plugin.h') diff --git a/src/plugins/weechat-plugin.h b/src/plugins/weechat-plugin.h index 3bdbc2b39..efb0cb3ec 100644 --- a/src/plugins/weechat-plugin.h +++ b/src/plugins/weechat-plugin.h @@ -168,6 +168,7 @@ struct t_weechat_plugin struct t_gui_buffer *(*buffer_search) (struct t_weechat_plugin *, char *, char *); void (*buffer_close) (struct t_weechat_plugin *, void *); + char *(*buffer_get) (struct t_weechat_plugin *, void *, char *); void (*buffer_set) (struct t_weechat_plugin *, void *, char *, char *); void (*buffer_nick_add) (struct t_weechat_plugin *, void *, char *, int, char *, char, char *); @@ -385,9 +386,11 @@ struct t_weechat_plugin weechat_plugin->buffer_search(weechat_plugin, NULL, NULL) #define weechat_buffer_close(__buffer) \ weechat_plugin->buffer_close(weechat_plugin, __buffer) +#define weechat_buffer_get(__buffer, __property) \ + weechat_plugin->buffer_get(weechat_plugin, __buffer, __property) #define weechat_buffer_set(__buffer, __property, __value) \ - weechat_plugin->buffer_set(weechat_plugin, __buffer, \ - __property, __value) + weechat_plugin->buffer_set(weechat_plugin, __buffer, __property, \ + __value) /* command */ #define weechat_command(__buffer, __command) \ -- cgit v1.2.3