summaryrefslogtreecommitdiff
path: root/src/core/network.h
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@irssi.org>2013-06-23 23:50:26 +0000
committerahf <ahf@dbcabf3a-b0e7-0310-adc4-f8d773084564>2013-06-23 23:50:26 +0000
commitcb873d5b917eb464e7911fe0d2a3e4603738dc8b (patch)
tree902da866db39933dc0c3adb3a6b1b72058f0ea91 /src/core/network.h
parentd826896f74925f2e77536d69a3d1a4b86b0cec61 (diff)
downloadirssi-cb873d5b917eb464e7911fe0d2a3e4603738dc8b.zip
Pass SERVER_REC directly to net_connect_ip_ssl
This patch refactors how we are passing connection information for SSL connections. This will allow us to emit signals with a SERVER_REC as parameter during SSL handshake. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5219 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/network.h')
-rw-r--r--src/core/network.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/network.h b/src/core/network.h
index 142a1793..fa7e9675 100644
--- a/src/core/network.h
+++ b/src/core/network.h
@@ -49,7 +49,7 @@ int net_ip_compare(IPADDR *ip1, IPADDR *ip2);
/* Connect to socket */
GIOChannel *net_connect(const char *addr, int port, IPADDR *my_ip);
/* Connect to socket with ip address and SSL*/
-GIOChannel *net_connect_ip_ssl(IPADDR *ip, int port, const char* hostname, IPADDR *my_ip, const char *cert, const char *pkey, const char *cafile, const char *capath, gboolean verify);
+GIOChannel *net_connect_ip_ssl(IPADDR *ip, int port, IPADDR *my_ip, SERVER_REC *server);
int irssi_ssl_handshake(GIOChannel *handle);
/* Connect to socket with ip address */
GIOChannel *net_connect_ip(IPADDR *ip, int port, IPADDR *my_ip);