aboutsummaryrefslogtreecommitdiff
path: root/include/file.h
diff options
context:
space:
mode:
authorShav Kinderlehrer <[email protected]>2023-04-10 20:14:18 -0400
committerShav Kinderlehrer <[email protected]>2023-04-10 20:14:18 -0400
commit0e59c5f27cc3badd3e48a87bba39bdac9077e1a5 (patch)
treeb90c2caa254233426b326f6a38011ea15435d840 /include/file.h
parentaeafcc6891913327aa784da5879bdf9b8cf11cc4 (diff)
downloadlat-0e59c5f27cc3badd3e48a87bba39bdac9077e1a5.tar.gz
lat-0e59c5f27cc3badd3e48a87bba39bdac9077e1a5.zip
Breakup monolithic code
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