userlibandfileserver/fileserver/sfat32/inc/sl_scandrv.h
changeset 90 947f0dc9f7a8
parent 36 538db54a451d
child 109 b3a1d9898418
--- a/userlibandfileserver/fileserver/sfat32/inc/sl_scandrv.h	Tue Feb 02 01:24:03 2010 +0200
+++ b/userlibandfileserver/fileserver/sfat32/inc/sl_scandrv.h	Fri Apr 16 16:24:37 2010 +0300
@@ -82,6 +82,9 @@
         EClusterAlreadyInUse,   ///< 2  cross-linked cluster chain
         EBadClusterValue,       ///< 3  also means "lost cluster"
         EInvalidEntrySize,      ///< 4  size of file/directory does not correspond to the cluster chain length
+        EEntrySetIncomplete,    ///< 5  incomplete VFAT entryset
+        EEntryBadAtt,           ///< 6  incorrect entry attributes
+
         
         EUnknownError = 95,     ///< unknown error
 
@@ -116,12 +119,12 @@
 
 	TUint32 ReadFatL(TUint aClusterNum) ;
 	void FindSameStartClusterL();
-	TInt FindStartClusterL(TInt aDirCluster);
+	TInt FindStartClusterL(TUint32 aDirCluster);
 	void CheckDirStructureL();
 	void CheckDirL(TUint32 aCluster);
 	void ProcessEntryL(const TFatDirEntry& aEntry);
 	TInt CheckEntryClusterL(const TFatDirEntry& aEntry, const TEntryPos& aEntryPos);
-	void RecordClusterChainL(TInt aCluster,TUint aSizeInBytes);
+	void RecordClusterChainL(TUint32 aCluster,TUint aSizeInBytes);
 	TBool MoveToVFatEndL(TEntryPos& aPos,TFatDirEntry& aEntry,TInt& aDirLength);
 	TBool IsValidVFatEntry(const TFatDirEntry& aEntry,TInt prevNum)const;
 	TBool IsDosEntry(const TFatDirEntry& aEntry)const;