]> git.ipfire.org Git - thirdparty/strongswan.git/commit
starter: Add new bison/flex based parser for ipsec.conf
authorTobias Brunner <tobias@strongswan.org>
Tue, 20 May 2014 16:15:13 +0000 (18:15 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 19 Jun 2014 12:00:48 +0000 (14:00 +0200)
commitf609682e5da0e29e89a02aa5fe21dcc49b469503
treef12e53838406d69b4e2559d25e347a0eeb072a3c
parent4ef86a849bc98e84ce9406a68a62b6fa643198f3
starter: Add new bison/flex based parser for ipsec.conf

The parser simply returns key/value pairs of all sections, it already
resolves also= and allows overriding options in all included sections
(not only %default), options set in included section can also be cleared
again (key=).
It provides other improvements too, like quoted strings (with escape
sequences), unlimited includes and better whitespace/comment handling.
src/starter/.gitignore
src/starter/Android.mk
src/starter/Makefile.am
src/starter/parser/conf_parser.c [new file with mode: 0644]
src/starter/parser/conf_parser.h [new file with mode: 0644]
src/starter/parser/lexer.l [new file with mode: 0644]
src/starter/parser/parser.y [new file with mode: 0644]