summaryrefslogtreecommitdiff
path: root/src/core/network.h
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2007-05-31 23:56:51 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2007-05-31 23:56:51 +0000
commit273152762f4fe784344ee2a62ea90050fc1f3b8d (patch)
treec0a32bbdcb014ab79e3c24ef3a6bf588490a9728 /src/core/network.h
parent5bcafebbd4556f2b7e3f345d1785c04369774b30 (diff)
downloadirssi-273152762f4fe784344ee2a62ea90050fc1f3b8d.zip
Rewrite SSL connection/handshake code.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4536 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/network.h')
-rw-r--r--src/core/network.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/network.h b/src/core/network.h
index 5e445e83..a3a4eb41 100644
--- a/src/core/network.h
+++ b/src/core/network.h
@@ -48,6 +48,7 @@ int net_ip_compare(IPADDR *ip1, IPADDR *ip2);
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, IPADDR *my_ip, const char *cert, const char *pkey, const char *cafile, const char *capath, gboolean verify);
+int irssi_ssl_handshake(GIOChannel *handle);
/* Connect to socket with ip address */
GIOChannel *net_connect_ip(IPADDR *ip, int port, IPADDR *my_ip);
/* Connect to named UNIX socket */