summaryrefslogtreecommitdiff
path: root/src/plugins/weechat-plugin.h
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-09-22 16:30:02 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-09-22 16:30:02 +0200
commit87fd5c83ca21b2b1705b0ba57e0a6b532f6bd0c9 (patch)
tree38d70674c60453415caf782249e0fcb48dae9e08 /src/plugins/weechat-plugin.h
parent0bfa1ee9ba939376b7c0e2958e3a2af98e92bed4 (diff)
downloadweechat-87fd5c83ca21b2b1705b0ba57e0a6b532f6bd0c9.zip
Return IPv4/IPv6 address to connect hook callback when connection is ok (used by IRC plugin to display IP of IRC server)
Diffstat (limited to 'src/plugins/weechat-plugin.h')
-rw-r--r--src/plugins/weechat-plugin.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/weechat-plugin.h b/src/plugins/weechat-plugin.h
index de2c7c567..3f9dbf53f 100644
--- a/src/plugins/weechat-plugin.h
+++ b/src/plugins/weechat-plugin.h
@@ -326,7 +326,9 @@ struct t_weechat_plugin
const char *address, int port,
int sock, int ipv6, void *gnutls_sess,
const char *local_hostname,
- int (*callback)(void *data, int status),
+ int (*callback)(void *data,
+ int status,
+ char *ip_address),
void *callback_data);
struct t_hook *(*hook_print) (struct t_weechat_plugin *plugin,
struct t_gui_buffer *buffer,