The Free and Open Productivity Suite
Follow us on Twitter: @ApacheOO

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


::

struct _oslFileStatus


Base Classes
None.
Known Derived Classes
None.

virtual abstract interface template
NO NO NO NO
Summary
Structure containing information about files and directories
See Also
osl_getFileStatus()
oslFileType
File
file.h

Public Members

Data

sal_uInt32 uStructSize; Must be initialized with the size in bytes of the structure before passing it to any function
sal_uInt32 uValidFields; Determines which members of the structure contain valid data
oslFileType eType; The type of the file (file, directory, volume).
sal_uInt64 uAttributes; File attributes
TimeValue aCreationTime; First creation time in nanoseconds since 1/1/1970. Can be the last modify time depending on platform or file system.
TimeValue aAccessTime; Last access time in nanoseconds since 1/1/1970. Can be the last modify time depending on platform or file system.
TimeValue aModifyTime; Last modify time in nanoseconds since 1/1/1970.
sal_uInt64 uFileSize; Size in bytes of the file. Zero for directories and volumes.
rtl_uString * ustrFileName; Case correct name of the file. Should be set to zero before calling <code>osl_getFileStatus</code> and released after usage.
rtl_uString * ustrFileURL; Full URL of the file. Should be set to zero before calling <code>osl_getFileStatus</code> and released after usage.
rtl_uString * ustrLinkTargetURL; Full URL of the target file if the file itself is a link. Should be set to zero before calling <code>osl_getFileStatus</code> and released after usage.

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Website Feedback | Contact Us | Donate | Thanks

Apache, the Apache feather logo, and OpenOffice are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.