diff -r a179b74831c9 -r c1f20ce4abcf kerneltest/f32test/fileutils/inc/f32_test_utils.h --- a/kerneltest/f32test/fileutils/inc/f32_test_utils.h Thu Aug 19 11:14:22 2010 +0300 +++ b/kerneltest/f32test/fileutils/inc/f32_test_utils.h Tue Aug 31 16:34:26 2010 +0300 @@ -59,6 +59,13 @@ TInt FormatDrive(RFs &aFs, TInt aDrive, TBool aQuickFormat); +//----------------------------------------------------------------------------- + +TBool CompareBuffers(const TDesC8& aBuf1, const TDesC8& aBuf2); +TBool CompareBuffers(const TAny* apBuf1, TUint aBuf1Len, const TAny* apBuf2, TUint aBuf2Len); + +void HexDump(const TDesC8& aBuf); +void HexDump(const TAny* apBuf, TUint aBufLen); //----------------------------------------------------------------------------- /** @@ -138,11 +145,14 @@ -TBool Is_Lffs(RFs &aFs, TInt aDrive); //-- returns ETrue if "lffs" FS is mounted on this drive -TBool Is_Win32(RFs &aFs, TInt aDrive); //-- returns ETrue if "win32" FS is mounted on this drive (i.e this is emulator's drive c:) -TBool Is_ExFat(RFs &aFs, TInt aDrive); //-- returns ETrue if "exFAT" FS is mounted on this drive -TBool Is_Automounter(RFs &aFs, TInt aDrive); //-- returns ETrue if "Automounter" FS is mounted on this drive +TBool Is_Lffs(RFs &aFs, TInt aDrive); //-- returns ETrue if "lffs" FS is mounted on this drive +TBool Is_Win32(RFs &aFs, TInt aDrive); //-- returns ETrue if "Win32" FS is mounted on this drive (i.e this is emulator's drive C:) +TBool Is_ExFat(RFs &aFs, TInt aDrive); //-- returns ETrue if "exFAT" FS is mounted on this drive +TBool Is_Automounter(RFs &aFs, TInt aDrive); //-- returns ETrue if "Automounter" FS is mounted on this drive +TBool Is_HVFS(RFs &aFs, TInt aDrive); //-- returns ETrue if "HVFS" is mounted on this drive (i.e PlatSim's drive C:) +TBool Is_SimulatedSystemDrive(RFs &aFs, TInt aDrive); //-- returns ETrue if "HVFS" or "Win32" FS is mounted on this drive + // (i.e drive C: of PlatSim or the emulator) TBool Is_Fat(RFs &aFs, TInt aDrive); //-- returns ETrue if "FAT" FS (FAT12/16/32) is mounted on this drive @@ -152,6 +162,8 @@ + + //############################################################################# //# some private helper functions //#############################################################################