aboutsummaryrefslogtreecommitdiffstats
path: root/src/config-parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/config-parser.y')
-rw-r--r--src/config-parser.y14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/config-parser.y b/src/config-parser.y
index bb31843..f66513b 100644
--- a/src/config-parser.y
+++ b/src/config-parser.y
@@ -82,6 +82,8 @@ static void *tmp; /* Variable to temporarily hold nodes before insertion to lis
%token TARGET_PORT
%token TARGET_STRING
%token TIMEOUT
+%token TLS
+%token TLS_HOSTNAME_VERIFICATION
%token TYPE
%token USERNAME
%token USER
@@ -213,6 +215,8 @@ irc_item: irc_away |
irc_oper |
irc_password |
irc_port |
+ irc_tls |
+ irc_tls_hostname_verification |
irc_readtimeout |
irc_reconnectinterval |
irc_realname |
@@ -281,6 +285,16 @@ irc_port: PORT '=' NUMBER ';'
IRCItem.port = $3;
};
+irc_tls: TLS '=' NUMBER ';'
+{
+ IRCItem.tls = $3;
+};
+
+irc_tls_hostname_verification: TLS_HOSTNAME_VERIFICATION '=' NUMBER ';'
+{
+ IRCItem.tls_hostname_verification = $3;
+};
+
irc_readtimeout: READTIMEOUT '=' timespec ';'
{
IRCItem.readtimeout = $3;