userlibandfileserver/fileserver/inc/f32file.h
branchRCL_3
changeset 44 3e88ff8f41d5
parent 43 c1f20ce4abcf
equal deleted inserted replaced
43:c1f20ce4abcf 44:3e88ff8f41d5
   678     Not all file systems may support this query.
   678     Not all file systems may support this query.
   679     A boolean value is returned within the buffer defined as TPckgBuf<TBool>. 
   679     A boolean value is returned within the buffer defined as TPckgBuf<TBool>. 
   680     ETrue value means that the drive is finalised
   680     ETrue value means that the drive is finalised
   681     */
   681     */
   682     EIsDriveFinalised,
   682     EIsDriveFinalised,
   683     
       
   684     /**
       
   685     Query the volume to ascertain whether File system extensions
       
   686     are supported on this volume.
       
   687     A boolean value is returned within the buffer defined as TPckgBuf<TBool>. 
       
   688     ETrue value means that extensions are supported.
       
   689     EFalse means they are not supported.
       
   690      */
       
   691     EFSysExtensionsSupported,
       
   692 	};
   683 	};
   693 
   684 
   694 /**
   685 /**
   695 @publishedAll
   686 @publishedAll
   696 @released
   687 @released
  1148 	Enables operations on large files.
  1139 	Enables operations on large files.
  1149 	
  1140 	
  1150 	@internalTechnology
  1141 	@internalTechnology
  1151 	
  1142 	
  1152 	*/
  1143 	*/
  1153 	EFileBigFile        =0x00040000,
  1144 	EFileBigFile        =0x00040000
  1154 	
       
  1155 	/**
       
  1156 	Using this flag implies that the client is making large sequential reads and/or writes
       
  1157 	and it is interested in maximising the performance of the large reads and/or writes.
       
  1158 	
       
  1159 	The flag gives a hint to the file server and filesystem to adjust to a streaming
       
  1160 	data pattern and try their best to make it optimal.
       
  1161 	
       
  1162 	Some conditions apply:
       
  1163 	- This does not guarantee that the performance of read/write operations will increase.
       
  1164 	- Using this flag for other purposes other than data streaming may lead to performance degradation.
       
  1165 	- This may sacrifice user data integrity for the sake of performance.
       
  1166 	
       
  1167 	If a file is opened by Client A with EFileSequential, and the file is then opened
       
  1168 	without EFileSequential by Client B, then this file mode will be disabled.
       
  1169 	When the file handle is closed by Client B, then the EFileSequential file mode
       
  1170 	will be enabled again.
       
  1171 	Therefore, this mode will only be enabled if all clients set the file as such,
       
  1172 	otherwise the file mode will be disabled.
       
  1173 	
       
  1174 	FAT file system specific information:
       
  1175 	This flag improves write and file expansion performance whilst decreasing robustness
       
  1176 	on a "Rugged-FAT" file system, which is applicable to internal non-removable drives.
       
  1177 	*/
       
  1178 	EFileSequential		=0x00080000
       
  1179 
  1145 
  1180 	};
  1146 	};
  1181 
  1147 
  1182 
  1148 
  1183 
  1149 
  2940 	IMPORT_C TInt RmDir(const TDesC& aDirName,TRequestStatus& aStatus);
  2906 	IMPORT_C TInt RmDir(const TDesC& aDirName,TRequestStatus& aStatus);
  2941 	IMPORT_C TInt Copy(const RFile& anOld,const TDesC& aNew,TUint aSwitches=EOverWrite);
  2907 	IMPORT_C TInt Copy(const RFile& anOld,const TDesC& aNew,TUint aSwitches=EOverWrite);
  2942 	IMPORT_C TInt Copy(const RFile& anOld,const TDesC& aNew,TUint aSwitches,TRequestStatus& aStatus);
  2908 	IMPORT_C TInt Copy(const RFile& anOld,const TDesC& aNew,TUint aSwitches,TRequestStatus& aStatus);
  2943 protected:
  2909 protected:
  2944 	CFileMan(RFs& aFs);
  2910 	CFileMan(RFs& aFs);
       
  2911 	TInt RenameInvalidEntry(const TDesC& anOld,const TDesC& aNew,TUint aSwitch=EOverWrite);
  2945 private:
  2912 private:
  2946 	/**
  2913 	/**
  2947 	This is an internal enumeration for CFileMan implementation. 
  2914 	This is an internal enumeration for CFileMan implementation. 
  2948 	THis enumeration is mapped into TAction when user wants to identify the current
  2915 	THis enumeration is mapped into TAction when user wants to identify the current
  2949 	task of CFileMan by CurrentAction().
  2916 	task of CFileMan by CurrentAction().