strongswan/src/libstrongswan/settings
Tobias Brunner 97c4551ec8 Avoid inclusion of unistd.h in generated lexers
Because the file is not available on all platforms the inclusion comes
after the user options in order to disable including it.  But that means
the inclusion also follows after the defined scanner states, which are
generated as simple #defines to numbers.  If the included unistd.h e.g.
uses variables in function definitions with the same names this could
result in compilation errors.

Interactive mode has to be disabled too as it relies on isatty() from
unistd.h.  Since we don't use the scanners interactively, this is not a
problem and might even make the scanners a bit faster.

Fixes #2806.
2018-11-22 11:17:35 +01:00
..
.gitignore settings: Add flex/bison based parser for strongswan.conf 2014-05-15 11:28:06 +02:00
settings.c settings: Clarify that a key/value-pair can only occur once 2018-09-17 18:51:43 +02:00
settings.h settings: Add reference feature 2018-06-27 14:19:35 +02:00
settings_lexer.l Avoid inclusion of unistd.h in generated lexers 2018-11-22 11:17:35 +01:00
settings_parser.y settings: Don't allow dots in section/key names anymore 2018-09-11 18:30:18 +02:00
settings_types.c settings: Add reference feature 2018-06-27 14:19:35 +02:00
settings_types.h settings: Add reference feature 2018-06-27 14:19:35 +02:00