X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Ffileio.h;h=0ca6878ea48e487bf6c7b340cb7c8e899602ae74;hb=b32ff512191bf873266ee8067f6f6c8a30c96a5e;hp=612968b93d09e84ec0b5bfb29214617b223aa021;hpb=574d5f2dfc25226afc718aa5ba1a145fe5cad221;p=elogind.git
diff --git a/src/shared/fileio.h b/src/shared/fileio.h
index 612968b93..0ca6878ea 100644
--- a/src/shared/fileio.h
+++ b/src/shared/fileio.h
@@ -21,13 +21,17 @@
along with systemd; If not, see .
***/
#include
+#include
+
#include "macro.h"
+int write_string_to_file(FILE *f, const char *line);
int write_string_file(const char *fn, const char *line);
int write_string_file_atomic(const char *fn, const char *line);
+
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);