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 ece0aab..ab6a239 100644
--- a/7ed.h
+++ b/7ed.h
@@ -1,5 +1,6 @@
#include <stddef.h>
#include <stdint.h>
+#include <stdbool.h>
#define BUF_SZ_256 256
#define BUF_SZ_512 512
@@ -8,6 +9,9 @@
#define BUF_SZ_4 4096
#define BUF_SZ_8 8192
+#define TRUE_7ED 0
+#define FALSE_7ED 1
+
int count_lines_in_file(char filename[], uint64_t *lines);
int count_lines_in_file_posix(char filename[], size_t *lines);