LibreOffice
LibreOffice 5.3 SDK C/C++ API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Attributes | List of all members
_oslFileStatus Struct Reference

Structure containing information about files and directories. More...

#include <file.h>

Public Attributes

sal_uInt32 uStructSize
 Must be initialized with the size in bytes of the structure before passing it to any function. More...
 
sal_uInt32 uValidFields
 Determines which members of the structure contain valid data. More...
 
oslFileType eType
 The type of the file (file, directory, volume). More...
 
sal_uInt64 uAttributes
 File attributes. More...
 
TimeValue aCreationTime
 First creation time in nanoseconds since 1/1/1970. More...
 
TimeValue aAccessTime
 Last access time in nanoseconds since 1/1/1970. More...
 
TimeValue aModifyTime
 Last modify time in nanoseconds since 1/1/1970. More...
 
sal_uInt64 uFileSize
 Size in bytes of the file. More...
 
rtl_uString * ustrFileName
 Case correct name of the file. More...
 
rtl_uString * ustrFileURL
 Full URL of the file. More...
 
rtl_uString * ustrLinkTargetURL
 Full URL of the target file if the file itself is a link. More...
 

Detailed Description

Structure containing information about files and directories.

See Also
osl_getFileStatus()
oslFileType

Member Data Documentation

TimeValue _oslFileStatus::aAccessTime

Last access time in nanoseconds since 1/1/1970.

Can be the last modify time depending on platform or file system.

TimeValue _oslFileStatus::aCreationTime

First creation time in nanoseconds since 1/1/1970.

Can be the last modify time depending on platform or file system.

TimeValue _oslFileStatus::aModifyTime

Last modify time in nanoseconds since 1/1/1970.

oslFileType _oslFileStatus::eType

The type of the file (file, directory, volume).

sal_uInt64 _oslFileStatus::uAttributes

File attributes.

sal_uInt64 _oslFileStatus::uFileSize

Size in bytes of the file.

Zero for directories and volumes.

rtl_uString* _oslFileStatus::ustrFileName

Case correct name of the file.

Should be set to zero before calling osl_getFileStatus and released after usage.

rtl_uString* _oslFileStatus::ustrFileURL

Full URL of the file.

Should be set to zero before calling osl_getFileStatus and released after usage.

rtl_uString* _oslFileStatus::ustrLinkTargetURL

Full URL of the target file if the file itself is a link.

Should be set to zero before calling osl_getFileStatus and released after usage.

sal_uInt32 _oslFileStatus::uStructSize

Must be initialized with the size in bytes of the structure before passing it to any function.

sal_uInt32 _oslFileStatus::uValidFields

Determines which members of the structure contain valid data.


The documentation for this struct was generated from the following file: