aboutsummaryrefslogtreecommitdiffstats
path: root/irc.h
diff options
context:
space:
mode:
Diffstat (limited to 'irc.h')
-rw-r--r--irc.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/irc.h b/irc.h
index 5ce7b07d..26e0c0a3 100644
--- a/irc.h
+++ b/irc.h
@@ -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. */