diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2007-12-09 11:47:34 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2007-12-09 11:47:34 +0100 |
commit | 8b3980f508972313c89a7fcb5a96fed3dccff7cc (patch) | |
tree | f682355eef676f21df31c43488c55e618b199529 /src/plugins/weechat-plugin.h | |
parent | 30ab415dc0024bd0e1fdb0b3a72dc8ec8f4c96c5 (diff) | |
download | weechat-8b3980f508972313c89a7fcb5a96fed3dccff7cc.zip |
Changes in IRC plugin to use new API
Diffstat (limited to 'src/plugins/weechat-plugin.h')
-rw-r--r-- | src/plugins/weechat-plugin.h | 7 |
1 files changed, 5 insertions, 2 deletions
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) \ |