Kernel - Update VFS API to use off_t/size_t instead of Uint64
[tpg/acess2.git] / KernelLand / Modules / Filesystems / InitRD / initrd.h
1 /*
2  */
3 #ifndef _INITRD_H_
4 #define _INITRD_H_
5
6 #include <acess.h>
7 #include <vfs.h>
8
9 typedef struct sInitRD_File
10 {
11         char    *Name;
12         tVFS_Node       *Node;
13 }       tInitRD_File;
14
15
16 // === Functions ===
17 extern size_t   InitRD_ReadFile(tVFS_Node *Node, off_t Offset, size_t Size, void *Buffer);
18 extern char     *InitRD_ReadDir(tVFS_Node *Node, int ID);
19 extern tVFS_Node        *InitRD_FindDir(tVFS_Node *Node, const char *Name);
20
21 // === Globals ===
22 tVFS_NodeType   gInitRD_DirType;
23 tVFS_NodeType   gInitRD_FileType;
24
25 #endif

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