summaryrefslogtreecommitdiff
path: root/src/conf-parser.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-06-16 01:58:50 +0200
committerLennart Poettering <lennart@poettering.net>2010-06-16 01:58:50 +0200
commit10e87ee7f66b59a504c0ed2025463ba5faa69923 (patch)
treead0e78fd44128dac8a2a45f89b228bb081b65194 /src/conf-parser.h
parent2c7108c40abfb1f175391aa59cf1b07ab203e690 (diff)
install: add systemd-install tool for managing alias/wants symlinks
Diffstat (limited to 'src/conf-parser.h')
-rw-r--r--src/conf-parser.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/conf-parser.h b/src/conf-parser.h
index bea2a8e9be..b3b2915d41 100644
--- a/src/conf-parser.h
+++ b/src/conf-parser.h
@@ -23,6 +23,7 @@
***/
#include <stdio.h>
+#include <stdbool.h>
/* An abstract parser for simple, line based, shallow configuration
* files consisting of variable assignments only. */
@@ -40,7 +41,7 @@ typedef struct ConfigItem {
/* The configuration file parsing routine. Expects a table of
* config_items in *t that is terminated by an item where lvalue is
* NULL */
-int config_parse(const char *filename, FILE *f, const char* const * sections, const ConfigItem *t, void *userdata);
+int config_parse(const char *filename, FILE *f, const char* const *sections, const ConfigItem *t, bool relaxed, void *userdata);
/* Generic parsers */
int config_parse_int(const char *filename, unsigned line, const char *section, const char *lvalue, const char *rvalue, void *data, void *userdata);