path: root/src/basic/string-util.h
diff options
authorLennart Poettering <>2016-01-05 17:10:17 +0100
committerSven Eden <>2017-05-17 15:22:15 +0200
commitd7ef73f05df04d2b6d59932fd3d21f155665a888 (patch)
tree03e56d0efb3cb189654cc982109c8d3a98eb1fc0 /src/basic/string-util.h
parentcda31ba58ea9360348d0b3b341b3155d65502405 (diff)
basic: add string table macros for "extended boolean" enums
In a couple of cases we maintain configuration settings that know an on and off state, like a boolean, plus some additional states. We generally parse them as booleans first, and if that fails check for specific additional values. This adds a generalized set of macros for parsing such settings, and ports one use in resolved and another in networkd over to it.
Diffstat (limited to 'src/basic/string-util.h')
0 files changed, 0 insertions, 0 deletions