aboutsummaryrefslogtreecommitdiff
path: root/src/fileutils.h
blob: 6c514bb504615920af7e9fb83cec2841f9af258f (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef FILEUTILS_H
#define FILEUTILS_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 (if the directories are created or if the directories already exists) */
int create_directory_recursive(char *path);

#endif