aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2025-06-19 11:26:52 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2025-06-19 11:26:52 +0530
commitbfdbb1e1316225f5bff0309a1b9008dcff567cf5 (patch)
tree4d20e4601435aad896311b33794c9c401decc286 /include
parent36b9c2d449162e7ec40520159fe2804f7439db4d (diff)
refactor: move file functions into filehandler
Diffstat (limited to 'include')
-rw-r--r--include/filehandler.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/filehandler.h b/include/filehandler.h
new file mode 100644
index 0000000..8868af7
--- /dev/null
+++ b/include/filehandler.h
@@ -0,0 +1,9 @@
+#ifndef __FILEHANDLER_H
+#define __FILEHANDLER_H
+
+#include <stdio.h>
+
+char *fcontent(FILE *f, unsigned int size);
+unsigned int fsize(FILE *f);
+
+#endif