diff options
| author | 2020-10-12 17:28:11 -0400 | |
|---|---|---|
| committer | 2020-10-12 17:28:11 -0400 | |
| commit | de54987ff29489950322f3408ea91651f4f48b4a (patch) | |
| tree | 83b1044de758ca3035dd2b1ec2a500b091f9ec37 /src/config-parser.y | |
| parent | f3179749aec8eec40166576bef7e0daf893939d4 (diff) | |
New upstream version 1.1.8.upstream/1.1.8
Diffstat (limited to 'src/config-parser.y')
| -rw-r--r-- | src/config-parser.y | 14 |
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; |
