X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FFilesystems%2FFAT%2Fcommon.h;h=09b94a65bd2e206b44239368637a65a36d6db8d3;hb=13078002b01ee4f63eb2001d2ef479a2a006ea32;hp=3983b93c0cf8be761db88d0a26ab5168f936a2d1;hpb=d0b4559f2936f6d9f06be0f7c3c51527a480ec0d;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/Filesystems/FAT/common.h b/KernelLand/Modules/Filesystems/FAT/common.h index 3983b93c..09b94a65 100644 --- a/KernelLand/Modules/Filesystems/FAT/common.h +++ b/KernelLand/Modules/Filesystems/FAT/common.h @@ -43,6 +43,7 @@ struct sFAT_VolInfo char name[12]; //!< Volume Name (With NULL Terminator) Uint32 firstDataSect; //!< First data sector Uint32 rootOffset; //!< Root Offset (clusters) + Uint32 RootSector; //!< Root Offset (sectors) Uint32 ClusterCount; //!< Total Cluster Count fat_bootsect bootsect; //!< Boot Sector tVFS_Node rootNode; //!< Root Node @@ -108,7 +109,7 @@ extern void FAT_int_WriteCluster(tFAT_VolInfo *Disk, Uint32 Cluster, const void // --- Directory Access --- extern int FAT_ReadDir(tVFS_Node *Node, int ID, char Dest[FILENAME_MAX]); -extern tVFS_Node *FAT_FindDir(tVFS_Node *Node, const char *Name); +extern tVFS_Node *FAT_FindDir(tVFS_Node *Node, const char *Name, Uint Flags); extern tVFS_Node *FAT_GetNodeFromINode(tVFS_Node *Root, Uint64 Inode); extern int FAT_int_GetEntryByCluster(tVFS_Node *DirNode, Uint32 Cluster, fat_filetable *Entry); #if SUPPORT_WRITE