aboutsummaryrefslogtreecommitdiff
path: root/include/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/file.h')
-rw-r--r--include/file.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/file.h b/include/file.h
new file mode 100644
index 0000000..0d2e791
--- /dev/null
+++ b/include/file.h
@@ -0,0 +1,12 @@
+#include <stdio.h>
+
+#ifndef FILE_H
+#define FILE_H
+struct filedata {
+ int lc;
+ unsigned len;
+ char *buf;
+};
+
+struct filedata readfile(FILE *fp);
+#endif