summaryrefslogtreecommitdiff
path: root/src/shared/fileio.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-04-03 19:04:03 +0200
committerLennart Poettering <lennart@poettering.net>2013-04-03 20:12:57 +0200
commitf73141d7657b3f60b8669bc8386413d8a8a372c6 (patch)
treea2fc0917431fa8498c1c0ac2ae9c7c8ac4f00163 /src/shared/fileio.h
parent7f602784de4fd378120e8ebfe6d830862b9cae03 (diff)
shared: rework env file reader
Implement this with a proper state machine, so that newlines and escaped chars can appear in string assignments. This should bring the parser much closer to shell.
Diffstat (limited to 'src/shared/fileio.h')
-rw-r--r--src/shared/fileio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/fileio.h b/src/shared/fileio.h
index 612968b93d..34ed3c1e97 100644
--- a/src/shared/fileio.h
+++ b/src/shared/fileio.h
@@ -29,5 +29,5 @@ int read_one_line_file(const char *fn, char **line);
int read_full_file(const char *fn, char **contents, size_t *size);
int parse_env_file(const char *fname, const char *separator, ...) _sentinel_;
-int load_env_file(const char *fname, char ***l);
+int load_env_file(const char *fname, const char *separator, char ***l);
int write_env_file(const char *fname, char **l);