diff options
Diffstat (limited to 'fileutils.h')
-rw-r--r-- | fileutils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fileutils.h b/fileutils.h index 413648f..6c514bb 100644 --- a/fileutils.h +++ b/fileutils.h @@ -4,5 +4,7 @@ const char* get_home_dir(); /* Returns 0 on success */ int file_get_content(const char *filepath, char **data, long *size); +/* Returns 0 on success (if the directories are created or if the directories already exists) */ +int create_directory_recursive(char *path); #endif |