X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FFilesystems%2FExt2%2Fext2_common.h;h=4c8c45e212906e69da04b3d1117d5371c7e7e2bb;hb=04a050f42807686dc119838c82372409246d55bb;hp=5515429f15378a1fe7e5b2dfc00c2b7f9bc31931;hpb=4ebe00546574e97c5316881881f7f2562deea74b;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/Filesystems/Ext2/ext2_common.h b/KernelLand/Modules/Filesystems/Ext2/ext2_common.h index 5515429f..4c8c45e2 100644 --- a/KernelLand/Modules/Filesystems/Ext2/ext2_common.h +++ b/KernelLand/Modules/Filesystems/Ext2/ext2_common.h @@ -23,6 +23,10 @@ typedef struct { tExt2_Group Groups[]; } tExt2_Disk; +// === GLOBALS === +extern tVFS_NodeType gExt2_FileType; +extern tVFS_NodeType gExt2_DirType; + // === FUNCTIONS === // --- Common --- extern void Ext2_CloseFile(tVFS_Node *Node); @@ -37,6 +41,8 @@ extern int Ext2_ReadDir(tVFS_Node *Node, int Pos, char Dest[FILENAME_MAX]); extern tVFS_Node *Ext2_FindDir(tVFS_Node *Node, const char *FileName); extern tVFS_Node *Ext2_MkNod(tVFS_Node *Node, const char *Name, Uint Flags); extern int Ext2_Link(tVFS_Node *Parent, const char *Name, tVFS_Node *Node); +extern tVFS_Node *Ext2_int_CreateNode(tExt2_Disk *Disk, Uint InodeId); +extern int Ext2_int_WritebackNode(tExt2_Disk *Disk, tVFS_Node *Node); // --- Read --- extern size_t Ext2_Read(tVFS_Node *node, off_t offset, size_t length, void *buffer); // --- Write ---