9 #ifndef P6FILETYPES_H__
10 #define P6FILETYPES_H__ 1
const P6DIRFLAGS P6DF_NONE
No flags.
const P6DIRFLAGS P6DF_SKIPCURRENT
Skip ".
const P6FILEFLAGS P6FILE_RDWR
Open file for read and write access.
const P6FILEMODE P6FP_GEXEC
Group execute permission.
const P6FILEMODE P6FP_UREAD
Owner read permission.
P6TIME m_tModified
File last modification time.
const P6DIRFLAGS P6DF_ONLYFILES
Not implemented - Only enumerate entries of type P6FT_FILE.
P6FILEMODE m_nAttr
File attributes see FILEMODE <div class="p6box"> .
const P6FILESEEK P6FS_END
Starting point is the curent end of file position.
const P6FILEMODE P6FP_UEXEC
Owner execute permission.
const P6DIRFLAGS P6DF_ONLYDIRS
Not implemented - Only enumerate entries of type P6FT_DIR.
const P6FILESEEK P6FS_CUR
Starting point is the current offset position in the file.
const P6FILEMODE P6FP_NONE
No attributes set.
Used to describe a directory entry by various methods such as p6IDir::stat() and p6IDir::enumerate()...
P6TIME m_tAccess
File last access time.
P6UINT64 m_cSize
Filesize.
const P6FACCESS P6FA_READ
Have read permission to the file/dir.
P6FILEMODE m_nAttr
File attributes see FILEMODE <div class="p6box"> .
const P6DIRFLAGS P6DF_SKIPBOTH
P6TIME m_tCreate
File created time.
const P6FILESEEK P6FS_SET
Starting point is the begining of the file at offset zero.
const P6FILEFLAGS P6FILE_OPENEXISTING
Open existing, fail if does not exist.
const P6FILEMODE P6FP_FILE
Entry is a normal file.
wchar_t P6WCHAR
Wide character type see p6i18n.h.
const P6FILEFLAGS P6FILE_APPEND
Writes begin at end of file.
const P6FILEFLAGS P6FILE_WRITE
Open file for write access.
const P6FILEMODE P6FP_DEFAULT
Use the OS default.
const P6DIRFLAGS P6DF_SKIPPARENT
Skip ".
P6R API type definitions and macros.
const P6DIRFLAGS P6DF_GETALLDATA
Causes all directory entry attributes to be retrieved.
P6UINT32 P6FACCESS
Describes the type containing the possible values for access to a filesystem resource.
const P6FILEMODE P6FP_ORWX
const P6FILEMODE P6FP_OREAD
World read permission.
const P6FILEMODE P6FP_OWRITE
World write permission.
const P6FILEMODE P6FP_GREAD
Group read permission.
const P6FILEMODE P6FP_UWRITE
Owner write permission.
const P6FILEMODE P6FP_DIR
Entry is a directory.
const P6FILEMODE P6FP_GWRITE
Group write permission.
const P6FILEFLAGS P6FILE_OPENALWAYS
Open always, create if does not exist.
const P6FILEMODE P6FP_URWX
P6R::P6UINT32 P6FILEFLAGS
File access flags are passed to various file open/create calls to specify the type of access that is ...
P6UINT64 m_cSize
Filesize.
const P6FACCESS P6FA_WRITE
Have write permission to the file/dir.
const P6FILEFLAGS P6FILE_READ
Open file for read access.
P6TIME m_tCreate
File created time.
Used to describe an open file.
P6INT64 P6TIME
The wallclock time represented as the number of microseconds since midnight January 1 1970 UTC...
const P6FILEFLAGS P6FILE_TRUNCEXISTING
truncate existing file, fail if file does not exist
P6TIME m_tModified
File last modification time.
const P6FILEFLAGS P6FILE_CREATENEW
Creates a new file, fails if exists.
const P6FILEFLAGS P6FILE_NOFLAGS
const P6FILEFLAGS P6FILE_CREATEALWAYS
Always creates the file, truncates existing.
const P6FILEMODE P6FP_GRWX
P6UINT32 P6DIRFLAGS
Defines a type which describes the control flags for use with the p6IDir::enumerate() method to contr...
const P6FACCESS P6FA_EXISTS
File/dir exists.
const P6FILEMODE P6FP_OEXEC
World execute permission.
P6TIME m_tAccess
File last access time.