Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

apr_finfo_t Struct Reference
[Stat Functions]

#include <apr_file_info.h>


Data Fields

apr_pool_tpool
apr_int32_t valid
apr_fileperms_t protection
apr_filetype_e filetype
apr_uid_t user
apr_gid_t group
apr_ino_t inode
apr_dev_t device
apr_int32_t nlink
apr_off_t size
apr_off_t csize
apr_time_t atime
apr_time_t mtime
apr_time_t ctime
const char * fname
const char * name
apr_file_tfilehand


Detailed Description

The file information structure. This is analogous to the POSIX stat structure.


Field Documentation

apr_time_t apr_finfo_t::atime
 

The time the file was last accessed

apr_off_t apr_finfo_t::csize
 

The storage size consumed by the file

apr_time_t apr_finfo_t::ctime
 

The time the file was last changed

apr_dev_t apr_finfo_t::device
 

The id of the device the file is on.

struct apr_file_t* apr_finfo_t::filehand
 

The file's handle, if accessed (can be submitted to apr_duphandle)

apr_filetype_e apr_finfo_t::filetype
 

The type of file. One of APR_REG, APR_DIR, APR_CHR, APR_BLK, APR_PIPE, APR_LNK or APR_SOCK. If the type is undetermined, the value is APR_NOFILE. If the type cannot be determined, the value is APR_UNKFILE.

const char* apr_finfo_t::fname
 

The full pathname of the file

apr_gid_t apr_finfo_t::group
 

The group id that owns the file

apr_ino_t apr_finfo_t::inode
 

The inode of the file.

apr_time_t apr_finfo_t::mtime
 

The time the file was last modified

const char* apr_finfo_t::name
 

The file's name (no path) in filesystem case

apr_int32_t apr_finfo_t::nlink
 

The number of hard links to the file.

apr_pool_t* apr_finfo_t::pool
 

Allocates memory and closes lingering handles in the specified pool

apr_fileperms_t apr_finfo_t::protection
 

The access permissions of the file. Mimics Unix access rights.

apr_off_t apr_finfo_t::size
 

The size of the file

apr_uid_t apr_finfo_t::user
 

The user id that owns the file

apr_int32_t apr_finfo_t::valid
 

The bitmask describing valid fields of this apr_finfo_t structure including all available 'wanted' fields and potentially more


The documentation for this struct was generated from the following file:
Generated on Mon Mar 14 11:25:45 2005 for Apache Portable Runtime by  doxygen 1.3.9.1