summaryrefslogtreecommitdiff
path: root/src/irc/core/irc-servers.h
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2015-09-10 01:02:44 +0200
committerLemonBoy <thatlemon@gmail.com>2015-09-11 00:30:16 +0200
commitb8d3301d34f383f039071214872570385de1bb59 (patch)
treedd91cc69d8bcc9fa62f7d8a768e2d72f855202c1 /src/irc/core/irc-servers.h
parent762c1d7f2c7478f1e98f847352e6cb3ca889c580 (diff)
downloadirssi-b8d3301d34f383f039071214872570385de1bb59.zip
SASL support
The only supported methods are PLAIN and EXTERNAL, the latter is untested as of now. The code gets the values from the keys named sasl_{mechanism,username,password} specified for each chatnet.
Diffstat (limited to 'src/irc/core/irc-servers.h')
-rw-r--r--src/irc/core/irc-servers.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/irc/core/irc-servers.h b/src/irc/core/irc-servers.h
index f809fab5..41c4b9c2 100644
--- a/src/irc/core/irc-servers.h
+++ b/src/irc/core/irc-servers.h
@@ -27,6 +27,10 @@ struct _IRC_SERVER_CONNECT_REC {
char *usermode;
char *alternate_nick;
+ int sasl_mechanism;
+ char *sasl_username;
+ char *sasl_password;
+
int max_cmds_at_once;
int cmd_queue_speed;
int max_query_chans;