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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common/pathname.h b/src/common/pathname.h
index 744a11b..72d6606 100644
--- a/src/common/pathname.h
+++ b/src/common/pathname.h
@@ -25,12 +25,19 @@
#define _COMMON_PATHNAME_H
+#include <stdbool.h>
+
+
+
/* Calcule le chemin relatif entre deux fichiers donnés. */
char *build_relative_filename(const char *, const char *);
/* Calcule le chemin absolu d'un fichier par rapport à un autre. */
char *build_absolute_filename(const char *, const char *);
+/* S'assure que le chemin fourni est bien en place. */
+bool mkpath(const char *);
+
#endif /* _COMMON_PATHNAME_H */