From de54987ff29489950322f3408ea91651f4f48b4a Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Mon, 12 Oct 2020 17:28:11 -0400 Subject: New upstream version 1.1.8. --- src/config-parser.y | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/config-parser.y') 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; -- cgit v1.2.3