diff options
Diffstat (limited to 'src/easydir.h')
-rw-r--r-- | src/easydir.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/easydir.h b/src/easydir.h index 0ba5677..06a2109 100644 --- a/src/easydir.h +++ b/src/easydir.h @@ -2,12 +2,13 @@ #define EASYDIR_H enum status_file { - F_SUCCESS, + F_ISFILE, F_NOEXIST, F_ISDIR }; -int checkFileExist(char *path_to_file); +int file_exist(const char *path); +int count_dir_entries(const char *path); char *fileCropLineFeed(char *path, char *text, int maxlen); #endif
\ No newline at end of file |