diff -r 55b9dcc2b73a -r aa390e52eda8 src/irc_net.h --- 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 /** @@ -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;