--- a/userlibandfileserver/fileserver/sfat32/inc/sl_std.h Tue Jul 06 15:50:07 2010 +0300
+++ b/userlibandfileserver/fileserver/sfat32/inc/sl_std.h Wed Aug 18 11:08:29 2010 +0300
@@ -750,6 +750,7 @@
void DoReMountL();
void SetFatType(TFatType aFatType);
+ TUint64 VolumeSizeInBytes() const;
private:
@@ -767,10 +768,10 @@
TBool iRamDrive : 1;///< true if this is a RAM drive
TBool iMainBootSecValid : 1;///< true if the main boot sector is valid, if false, a backup boot sector may be in use.
- TFatMntState iState; ///< this mounnt internal state
+ TFatMntState iState; ///< this mounnt internal state
- TFatType iFatType; ///< FAT type, FAT12,16 or 32
- TUint32 iFatEocCode; ///< End Of Cluster Chain code, 0xff8 for FAT12, 0xfff8 for FAT16, and 0xffffff8 for FAT32
+ TFatType iFatType; ///< FAT type, FAT12,16 or 32
+ TUint32 iFatEocCode; ///< End Of Cluster Chain code, 0xff8 for FAT12, 0xfff8 for FAT16, and 0xffffff8 for FAT32
CLeafDirCache* iLeafDirCache; ///< A cache for most recently visited directories, only valid when limit is set bigger than 1
@@ -782,7 +783,7 @@
CFatTable* iFatTable; ///< Pointer to the volume Fat
CRawDisk* iRawDisk; ///< Pointer to the raw data interface class
- CAsyncNotifier* iNotifier; ///< Async notifier for notifying user of Fat error conditions
+ CAsyncNotifier* iNotifier; ///< Async notifier for notifying user of Fat error conditions
XDriveInterface iDriverInterface; ///< the object representing interface to the drive, provides read/write access and notifiers
TFatConfig iFatConfig; ///< FAT parametrers from estart.txt
@@ -862,7 +863,6 @@
void SetSeekIndexValueL(TUint aFileCluster,TUint aStoredCluster);
void ResizeIndex(TInt aNewMult,TUint aNewSize);
TInt CalcSeekIndexSize(TUint aSize);
- TBool IsSeekBackwards(TUint aPos);
void ClearIndex(TUint aNewSize);
void DoSetSizeL(TUint aSize, TBool aForceCachesFlush);
void WriteFileSizeL(TUint aSize);