chiark / gitweb /
util-lib: add easy helpers for temporary directories that rmdir()ed via _cleanup_
[elogind.git] / src / basic / fileio.h
index 6a628086bce173d47a6f38e702e8431e1f1f6011..062aeed2e766c0129f92d9c4d7c7521b880ad54b 100644 (file)
@@ -49,8 +49,6 @@ 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);
 
-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);
@@ -96,3 +94,5 @@ int link_tmpfile(int fd, const char *path, const char *target);
 #endif // 0
 
 int read_nul_string(FILE *f, char **ret);
+
+int mkdtemp_malloc(const char *template, char **ret);