summaryrefslogtreecommitdiff
path: root/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'file.h')
-rw-r--r--file.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/file.h b/file.h
new file mode 100644
index 0000000..31a6e7d
--- /dev/null
+++ b/file.h
@@ -0,0 +1,13 @@
+#ifndef FILE_H
+#define FILE_H
+
+#include <stdio.h>
+
+struct FileContent {
+ const char *content;
+ size_t count;
+};
+
+struct FileContent read_entire_file(const char *file_path);
+
+#endif