summaryrefslogtreecommitdiffstats
path: root/src/basic/fileio.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-11-30 22:08:41 +0100
committerLennart Poettering <lennart@poettering.net>2018-12-02 13:22:29 +0100
commit686d13b9f247f4d113e93f0997b9365a3e6b264b (patch)
tree35a45766e342e2b70d6bf5cf17d3c8c7dc397983 /src/basic/fileio.h
parentutil-lib: move open_serialization_fd() to serialize.c (diff)
downloadsystemd-686d13b9f247f4d113e93f0997b9365a3e6b264b.tar.xz
systemd-686d13b9f247f4d113e93f0997b9365a3e6b264b.zip
util-lib: split out env file parsing code into env-file.c
It's quite complex, let's split this out. No code changes, just some file rearranging.
Diffstat (limited to 'src/basic/fileio.h')
-rw-r--r--src/basic/fileio.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/basic/fileio.h b/src/basic/fileio.h
index 874cdabd6b..8480246072 100644
--- a/src/basic/fileio.h
+++ b/src/basic/fileio.h
@@ -44,16 +44,6 @@ int read_full_stream(FILE *f, char **contents, size_t *size);
int verify_file(const char *fn, const char *blob, bool accept_extra_nl);
-int parse_env_filev(FILE *f, const char *fname, va_list ap);
-int parse_env_file_sentinel(FILE *f, const char *fname, ...) _sentinel_;
-#define parse_env_file(f, fname, ...) parse_env_file_sentinel(f, fname, __VA_ARGS__, NULL)
-int load_env_file(FILE *f, const char *fname, char ***l);
-int load_env_file_pairs(FILE *f, const char *fname, char ***l);
-
-int merge_env_file(char ***env, FILE *f, const char *fname);
-
-int write_env_file(const char *fname, char **l);
-
int executable_is_script(const char *path, char **interpreter);
int get_proc_field(const char *filename, const char *pattern, const char *terminator, char **field);