src/irc_net.h
changeset 140 aa390e52eda8
parent 98 f357f835f0d5
child 153 d35e7cb3a489
--- a/src/irc_net.h	Thu Apr 16 01:20:09 2009 +0300
+++ b/src/irc_net.h	Sun Apr 19 04:04:42 2009 +0300
@@ -13,6 +13,7 @@
 #include "error.h"
 #include "irc_conn.h"
 #include "irc_chan.h"
+#include "sock_ssl.h"
 #include <sys/queue.h>
 
 /**
@@ -28,8 +29,8 @@
     /** Service name (port) */
     const char *service;
 
-    /** SSL? */
-    bool use_ssl;
+    /** Use SSL if given as non-NULL, a reference will be held by the irc_net */
+    struct sock_ssl_client_cred *ssl_cred;
 
     /** Protocol registration info (nickname etc) */
     struct irc_conn_register_info register_info;