diff options
Diffstat (limited to 'irc.h')
-rw-r--r-- | irc.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -26,6 +26,10 @@ #ifndef _IRC_H #define _IRC_H +//#ifdef WITH_GNUTLS +# include <gnutls/gnutls.h> +//#endif + #define IRC_MAX_LINE 512 #define IRC_MAX_ARGS 16 @@ -88,6 +92,13 @@ typedef struct irc { struct irc_user *root; struct irc_user *user; +//#ifdef WITH_GNUTLS + int ssl; + char *certfp; + + gnutls_session_t ssl_session; +//#endif + char *password; /* HACK: Used to save the user's password, but before logging in, this may contain a password we should send to identify after USER/NICK are received. */ |