diff options
Diffstat (limited to 'src/plugins/weechat-plugin.h')
-rw-r--r-- | src/plugins/weechat-plugin.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/plugins/weechat-plugin.h b/src/plugins/weechat-plugin.h index 87669b9dd..852e8d0fd 100644 --- a/src/plugins/weechat-plugin.h +++ b/src/plugins/weechat-plugin.h @@ -45,7 +45,7 @@ struct timeval; */ /* API version (used to check that plugin has same API and can be loaded) */ -#define WEECHAT_PLUGIN_API_VERSION "20110426-01" +#define WEECHAT_PLUGIN_API_VERSION "20110428-01" /* macros for defining plugin infos */ #define WEECHAT_PLUGIN_NAME(__name) \ @@ -471,6 +471,7 @@ struct t_weechat_plugin int ipv6, void *gnutls_sess, void *gnutls_cb, int gnutls_dhkey_size, + const char *gnutls_priorities, const char *local_hostname, int (*callback)(void *data, int status, @@ -1159,12 +1160,13 @@ extern int weechat_plugin_end (struct t_weechat_plugin *plugin); __callback, __callback_data) #define weechat_hook_connect(__proxy, __address, __port, __sock, \ __ipv6, __gnutls_sess, __gnutls_cb, \ - __gnutls_dhkey_size, __local_hostname, \ - __callback, __data) \ + __gnutls_dhkey_size, __gnutls_priorities, \ + __local_hostname, __callback, __data) \ weechat_plugin->hook_connect(weechat_plugin, __proxy, __address, \ __port, __sock, __ipv6, __gnutls_sess, \ __gnutls_cb, __gnutls_dhkey_size, \ - __local_hostname, __callback, __data) + __gnutls_priorities, __local_hostname, \ + __callback, __data) #define weechat_hook_print(__buffer, __tags, __msg, __strip__colors, \ __callback, __data) \ weechat_plugin->hook_print(weechat_plugin, __buffer, __tags, \ |