aboutsummaryrefslogtreecommitdiff
path: root/src/fileutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fileutils.h')
-rw-r--r--src/fileutils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fileutils.h b/src/fileutils.h
index 979f656..e243a89 100644
--- a/src/fileutils.h
+++ b/src/fileutils.h
@@ -2,10 +2,13 @@
#define FILEUTILS_H
#include <stddef.h>
+#include <time.h>
const char* get_home_dir();
/* Returns 0 on success */
int file_get_content(const char *filepath, char **data, long *size);
+/* Returns 0 on success */
+int file_get_last_modified_time(const char *path, time_t *last_modified);
/* Returns 0 on success (if the directories are created or if the directories already exists) */
int create_directory_recursive(char *path);
/* Returns 0 on success */