Sorting source tree a bit
[tpg/acess2.git] / KernelLand / Modules / Filesystems / InitRD / initrd.h
diff --git a/KernelLand/Modules/Filesystems/InitRD/initrd.h b/KernelLand/Modules/Filesystems/InitRD/initrd.h
new file mode 100644 (file)
index 0000000..479a841
--- /dev/null
@@ -0,0 +1,25 @@
+/*
+ */
+#ifndef _INITRD_H_
+#define _INITRD_H_
+
+#include <acess.h>
+#include <vfs.h>
+
+typedef struct sInitRD_File
+{
+       char    *Name;
+       tVFS_Node       *Node;
+}      tInitRD_File;
+
+
+// === Functions ===
+extern Uint64  InitRD_ReadFile(tVFS_Node *Node, Uint64 Offset, Uint64 Size, void *Buffer);
+extern char    *InitRD_ReadDir(tVFS_Node *Node, int ID);
+extern tVFS_Node       *InitRD_FindDir(tVFS_Node *Node, const char *Name);
+
+// === Globals ===
+tVFS_NodeType  gInitRD_DirType;
+tVFS_NodeType  gInitRD_FileType;
+
+#endif

UCC git Repository :: git.ucc.asn.au