20 #ifndef INCLUDED_OSL_FILE_H
21 #define INCLUDED_OSL_FILE_H
168 rtl_uString *pustrDirectoryURL, oslDirectory *pDirectory);
203 oslDirectory Directory,
204 oslDirectoryItem *pItem,
225 oslDirectory Directory);
265 rtl_uString *pustrFileURL,
266 oslDirectoryItem *pItem
288 oslDirectoryItem Item );
311 oslDirectoryItem Item );
334 oslDirectoryItem pItemA,
335 oslDirectoryItem pItemB );
351 #define osl_File_Attribute_ReadOnly 0x00000001
352 #define osl_File_Attribute_Hidden 0x00000002
353 #define osl_File_Attribute_Executable 0x00000010
354 #define osl_File_Attribute_GrpWrite 0x00000020
355 #define osl_File_Attribute_GrpRead 0x00000040
356 #define osl_File_Attribute_GrpExe 0x00000080
357 #define osl_File_Attribute_OwnWrite 0x00000100
358 #define osl_File_Attribute_OwnRead 0x00000200
359 #define osl_File_Attribute_OwnExe 0x00000400
360 #define osl_File_Attribute_OthWrite 0x00000800
361 #define osl_File_Attribute_OthRead 0x00001000
362 #define osl_File_Attribute_OthExe 0x00002000
366 #define osl_FileStatus_Mask_Type 0x00000001
367 #define osl_FileStatus_Mask_Attributes 0x00000002
368 #define osl_FileStatus_Mask_CreationTime 0x00000010
369 #define osl_FileStatus_Mask_AccessTime 0x00000020
370 #define osl_FileStatus_Mask_ModifyTime 0x00000040
371 #define osl_FileStatus_Mask_FileSize 0x00000080
372 #define osl_FileStatus_Mask_FileName 0x00000100
373 #define osl_FileStatus_Mask_FileURL 0x00000200
374 #define osl_FileStatus_Mask_LinkTargetURL 0x00000400
375 #define osl_FileStatus_Mask_All 0x7FFFFFFF
376 #define osl_FileStatus_Mask_Validate 0x80000000
459 oslDirectoryItem Item,
oslFileStatus *pStatus, sal_uInt32 uFieldMask );
483 oslVolumeDeviceHandle Handle );
504 oslVolumeDeviceHandle Handle );
534 oslVolumeDeviceHandle Handle, rtl_uString **ppustrDirectoryURL);
538 #define osl_Volume_Attribute_Removeable 0x00000001L
539 #define osl_Volume_Attribute_Remote 0x00000002L
540 #define osl_Volume_Attribute_CompactDisc 0x00000004L
541 #define osl_Volume_Attribute_FixedDisk 0x00000008L
542 #define osl_Volume_Attribute_RAMDisk 0x00000010L
543 #define osl_Volume_Attribute_FloppyDisk 0x00000020L
545 #define osl_Volume_Attribute_Case_Is_Preserved 0x00000040L
546 #define osl_Volume_Attribute_Case_Sensitive 0x00000080L
550 #define osl_VolumeInfo_Mask_Attributes 0x00000001L
551 #define osl_VolumeInfo_Mask_TotalSpace 0x00000002L
552 #define osl_VolumeInfo_Mask_UsedSpace 0x00000004L
553 #define osl_VolumeInfo_Mask_FreeSpace 0x00000008L
554 #define osl_VolumeInfo_Mask_MaxNameLength 0x00000010L
555 #define osl_VolumeInfo_Mask_MaxPathLength 0x00000020L
556 #define osl_VolumeInfo_Mask_FileSystemName 0x00000040L
557 #define osl_VolumeInfo_Mask_DeviceHandle 0x00000080L
558 #define osl_VolumeInfo_Mask_FileSystemCaseHandling 0x00000100L
630 rtl_uString *pustrDirectoryURL,
632 sal_uInt32 uFieldMask );
638 #define osl_File_OpenFlag_Read 0x00000001L
639 #define osl_File_OpenFlag_Write 0x00000002L
640 #define osl_File_OpenFlag_Create 0x00000004L
641 #define osl_File_OpenFlag_NoLock 0x00000008L
700 rtl_uString *pustrFileURL, oslFileHandle *pHandle, sal_uInt32 uFlags );
702 #define osl_Pos_Absolut 1
703 #define osl_Pos_Current 2
704 #define osl_Pos_End 3
750 oslFileHandle Handle, sal_uInt64 *pPos );
776 oslFileHandle Handle, sal_uInt64 uSize );
801 oslFileHandle Handle, sal_uInt64 *pSize );
808 #define osl_File_MapFlag_RandomAccess ((sal_uInt32)(0x1))
816 #define osl_File_MapFlag_WillNeed ((sal_uInt32)(0x2))
832 oslFileHandle Handle,
874 oslFileHandle Handle,
916 oslFileHandle Handle,
void *pBuffer, sal_uInt64 uBytesRequested, sal_uInt64 *pBytesRead );
945 oslFileHandle Handle,
sal_Bool *pIsEOF );
986 oslFileHandle Handle,
const void *pBuffer, sal_uInt64 uBytesToWrite, sal_uInt64 *pBytesWritten );
995 oslFileHandle Handle,
998 sal_uInt64 uBytesRequested,
999 sal_uInt64* pBytesRead
1010 oslFileHandle Handle,
1012 const void* pBuffer,
1013 sal_uInt64 uBytesToWrite,
1014 sal_uInt64* pBytesWritten
1148 rtl_uString * url, sal_uInt32 flags);
1256 rtl_uString* aDirectoryUrl,
1289 rtl_uString* pustrFileURL );
1321 rtl_uString* pustrSourceFileURL, rtl_uString *pustrDestFileURL );
1351 rtl_uString* pustrSourceFileURL, rtl_uString *pustrDestFileURL );
1376 rtl_uString *pustrRequestedURL, rtl_uString **ppustrValidURL);
1415 rtl_uString* pustrBaseDirectoryURL,
1416 rtl_uString *pustrRelativeFileURL,
1417 rtl_uString **ppustrAbsoluteFileURL );
1436 rtl_uString *pustrSystemPath, rtl_uString **ppustrFileURL);
1468 rtl_uString *pustrFileName, rtl_uString *pustrSearchPath, rtl_uString **ppustrFileURL );
1487 rtl_uString *pustrFileURL, rtl_uString **ppustrSystemPath);
1527 rtl_uString *ustrSystemPath,
1528 rtl_uString **pustrCompacted,
1529 sal_uInt32 uMaxWidth,
1549 rtl_uString *pustrFileURL, sal_uInt64 uAttributes );
1575 rtl_uString *pustrFileURL,
1592 rtl_uString **pustrTempDirURL );
1647 rtl_uString* pustrDirectoryURL,
1648 oslFileHandle* pHandle,
1649 rtl_uString** ppustrTempFileURL);
1655 #endif // INCLUDED_OSL_FILE_H