aboutsummaryrefslogtreecommitdiffstats
path: root/src/easydir.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/easydir.h')
-rw-r--r--src/easydir.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/easydir.h b/src/easydir.h
index 4680709..0ba5677 100644
--- a/src/easydir.h
+++ b/src/easydir.h
@@ -1,8 +1,12 @@
#ifndef EASYDIR_H
#define EASYDIR_H
-int deleteFile(char *file_path);
-int deleteEmptyDir(char *dir_path);
+enum status_file {
+ F_SUCCESS,
+ F_NOEXIST,
+ F_ISDIR
+};
+
int checkFileExist(char *path_to_file);
char *fileCropLineFeed(char *path, char *text, int maxlen);