summaryrefslogtreecommitdiff
path: root/src/common/pathname.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/pathname.h')
-rw-r--r--src/common/pathname.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/common/pathname.h b/src/common/pathname.h
index f7b679e..1b6624c 100644
--- a/src/common/pathname.h
+++ b/src/common/pathname.h
@@ -38,6 +38,17 @@ char *build_absolute_filename(const char *, const char *);
/* S'assure que le chemin fourni est bien en place. */
bool mkpath(const char *);
+/* S'assure qu'un chemin donné existe dans le système. */
+int ensure_path_exists(const char *);
+
+/* Met en place un fichier temporaire. */
+#if 0 // TODO
+int make_tmp_file(const char *, const char *, char **);
+#endif
+
+/* Copie un fichier. */
+bool copy_file(const char *, const char *);
+
#endif /* _COMMON_PATHNAME_H */