summaryrefslogtreecommitdiff
path: root/7ed.h
diff options
context:
space:
mode:
Diffstat (limited to '7ed.h')
-rw-r--r--7ed.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/7ed.h b/7ed.h
index aafdb94..0fdc737 100644
--- a/7ed.h
+++ b/7ed.h
@@ -15,6 +15,10 @@
#define FILE_EXISTS 0
#define FILE_NOT_FOUND 1
+#define MODE_YES 0
+#define MODE_NO 1
+#define MODE_NORMAL 2
+
int count_lines_in_file(char filename[], uint64_t *lines);
int count_lines_in_file_posix(char filename[], size_t *lines);