X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FFilesystems%2FInitRD%2Finitrd.h;fp=KernelLand%2FModules%2FFilesystems%2FInitRD%2Finitrd.h;h=479a841828e4b1bcc2f81b73dfd079662794ed33;hb=48743e39650eb1ef988380e9d95f27fd40d3a9ce;hp=0000000000000000000000000000000000000000;hpb=a2495c6ea4f4cab16b5d339ae511428e92e89e73;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/Filesystems/InitRD/initrd.h b/KernelLand/Modules/Filesystems/InitRD/initrd.h new file mode 100644 index 00000000..479a8418 --- /dev/null +++ b/KernelLand/Modules/Filesystems/InitRD/initrd.h @@ -0,0 +1,25 @@ +/* + */ +#ifndef _INITRD_H_ +#define _INITRD_H_ + +#include +#include + +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