X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FFilesystems%2FFAT%2Fcommon.h;fp=KernelLand%2FModules%2FFilesystems%2FFAT%2Fcommon.h;h=9402830bd150121f128e36303800c9f5312011b0;hb=4ebe00546574e97c5316881881f7f2562deea74b;hp=b473bf73b59ae9e80b828e6098e2eece7ac4c38c;hpb=bf62604f78c2d8bc88cac3664e15ed02c6e6d581;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/Filesystems/FAT/common.h b/KernelLand/Modules/Filesystems/FAT/common.h index b473bf73..9402830b 100644 --- a/KernelLand/Modules/Filesystems/FAT/common.h +++ b/KernelLand/Modules/Filesystems/FAT/common.h @@ -106,13 +106,13 @@ extern void FAT_int_ReadCluster(tFAT_VolInfo *Disk, Uint32 Cluster, int Length, extern void FAT_int_WriteCluster(tFAT_VolInfo *Disk, Uint32 Cluster, const void *Buffer); // --- Directory Access --- -extern char *FAT_ReadDir(tVFS_Node *Node, int ID); +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_GetNodeFromINode(tVFS_Node *Root, Uint64 Inode); extern int FAT_int_GetEntryByCluster(tVFS_Node *DirNode, Uint32 Cluster, fat_filetable *Entry); #if SUPPORT_WRITE extern int FAT_int_WriteDirEntry(tVFS_Node *Node, int ID, fat_filetable *Entry); -extern int FAT_Mknod(tVFS_Node *Node, const char *Name, Uint Flags); +extern tVFS_Node *FAT_Mknod(tVFS_Node *Node, const char *Name, Uint Flags); extern int FAT_Link(tVFS_Node *DirNode, const char *NewName, tVFS_Node *Node); extern int FAT_Unlink(tVFS_Node *DirNode, const char *OldName); #endif