summaryrefslogtreecommitdiff
path: root/src/irc/core/irc-servers.h
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2015-02-12 00:07:22 +0100
committerLemonBoy <thatlemon@gmail.com>2015-05-05 23:14:26 +0200
commit2d7030a84445ee4547af43970cfb252b36246e62 (patch)
tree3ab0cfc3cde4243decd42145e0a9122aa931c09c /src/irc/core/irc-servers.h
parentc122a2a226363114e11f32072395e2f06ad6a450 (diff)
downloadirssi-2d7030a84445ee4547af43970cfb252b36246e62.zip
Implement support for IRCv3.1 CAP negotiation
Diffstat (limited to 'src/irc/core/irc-servers.h')
-rw-r--r--src/irc/core/irc-servers.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/irc/core/irc-servers.h b/src/irc/core/irc-servers.h
index 7e4eeabf..f809fab5 100644
--- a/src/irc/core/irc-servers.h
+++ b/src/irc/core/irc-servers.h
@@ -69,6 +69,13 @@ struct _IRC_SERVER_REC {
int max_whois_in_cmd; /* max. number of nicks in one /WHOIS command */
int max_msgs_in_cmd; /* max. number of targets in one /MSG */
+ GSList *cap_supported; /* A list of caps supported by the server */
+ GSList *cap_active; /* A list of caps active for this session */
+ GSList *cap_queue; /* A list of caps to request on connection */
+ int cap_complete:1; /* We've done the initial CAP negotiation */
+
+ guint sasl_timeout; /* Holds the source id of the running timeout */
+
/* Command sending queue */
int cmdcount; /* number of commands in `cmdqueue'. Can be more than
there actually is, to make flood control remember