diff options
author | Daniel Mack <github@zonque.org> | 2015-07-06 14:22:23 -0400 |
---|---|---|
committer | Daniel Mack <github@zonque.org> | 2015-07-06 14:22:23 -0400 |
commit | f767522a65a03b164f30d6b9f089000ce5bcb730 (patch) | |
tree | 535c9095676bafc970b607ece17577a89c9e1bd7 /src/basic/fileio.h | |
parent | 5541c88977e63215e74b7517fb33cb27e5a04f17 (diff) | |
parent | 15dee3f07c646fd345b0aa30c6566071b3365db7 (diff) |
Merge pull request #495 from poettering/forwarding-fix
networkd: be more defensive when writing to ipv4/ipv6 forwarding sett…
Diffstat (limited to 'src/basic/fileio.h')
-rw-r--r-- | src/basic/fileio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/fileio.h b/src/basic/fileio.h index 5ae51c1e28..91d4a0d2d5 100644 --- a/src/basic/fileio.h +++ b/src/basic/fileio.h @@ -34,6 +34,8 @@ int read_one_line_file(const char *fn, char **line); int read_full_file(const char *fn, char **contents, size_t *size); int read_full_stream(FILE *f, char **contents, size_t *size); +int verify_one_line_file(const char *fn, const char *line); + int parse_env_file(const char *fname, const char *separator, ...) _sentinel_; int load_env_file(FILE *f, const char *fname, const char *separator, char ***l); int load_env_file_pairs(FILE *f, const char *fname, const char *separator, char ***l); |