summaryrefslogtreecommitdiff
path: root/stage3/fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'stage3/fs.h')
-rw-r--r--stage3/fs.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/stage3/fs.h b/stage3/fs.h
new file mode 100644
index 0000000..b585577
--- /dev/null
+++ b/stage3/fs.h
@@ -0,0 +1,13 @@
+#ifndef FS_H
+#define FS_H
+
+#include "def.h"
+
+typedef struct {
+ usize len;
+ void *data;
+} file;
+
+file fs_read(const char *filename);
+
+#endif