userlibandfileserver/fileserver/inc/f32file.h
branchRCL_3
changeset 256 c1f20ce4abcf
parent 117 5b5d147c7838
child 257 3e88ff8f41d5
equal deleted inserted replaced
249:a179b74831c9 256:c1f20ce4abcf
   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,
   683 	};
   692 	};
   684 
   693 
   685 /**
   694 /**
   686 @publishedAll
   695 @publishedAll
   687 @released
   696 @released
  1139 	Enables operations on large files.
  1148 	Enables operations on large files.
  1140 	
  1149 	
  1141 	@internalTechnology
  1150 	@internalTechnology
  1142 	
  1151 	
  1143 	*/
  1152 	*/
  1144 	EFileBigFile        =0x00040000
  1153 	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
  1145 
  1179 
  1146 	};
  1180 	};
  1147 
  1181 
  1148 
  1182 
  1149 
  1183 
  2906 	IMPORT_C TInt RmDir(const TDesC& aDirName,TRequestStatus& aStatus);
  2940 	IMPORT_C TInt RmDir(const TDesC& aDirName,TRequestStatus& aStatus);
  2907 	IMPORT_C TInt Copy(const RFile& anOld,const TDesC& aNew,TUint aSwitches=EOverWrite);
  2941 	IMPORT_C TInt Copy(const RFile& anOld,const TDesC& aNew,TUint aSwitches=EOverWrite);
  2908 	IMPORT_C TInt Copy(const RFile& anOld,const TDesC& aNew,TUint aSwitches,TRequestStatus& aStatus);
  2942 	IMPORT_C TInt Copy(const RFile& anOld,const TDesC& aNew,TUint aSwitches,TRequestStatus& aStatus);
  2909 protected:
  2943 protected:
  2910 	CFileMan(RFs& aFs);
  2944 	CFileMan(RFs& aFs);
  2911 	TInt RenameInvalidEntry(const TDesC& anOld,const TDesC& aNew,TUint aSwitch=EOverWrite);
       
  2912 private:
  2945 private:
  2913 	/**
  2946 	/**
  2914 	This is an internal enumeration for CFileMan implementation. 
  2947 	This is an internal enumeration for CFileMan implementation. 
  2915 	THis enumeration is mapped into TAction when user wants to identify the current
  2948 	THis enumeration is mapped into TAction when user wants to identify the current
  2916 	task of CFileMan by CurrentAction().
  2949 	task of CFileMan by CurrentAction().