GME  13
Public Attributes
apr_finfo_t Struct Reference

#include <apr_file_info.h>

Collaboration diagram for apr_finfo_t:
Collaboration graph
[legend]

List of all members.

Public Attributes

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
struct apr_file_tfilehand

Detailed Description

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

Definition at line 174 of file apr_file_info.h.


Member Data Documentation

The time the file was last accessed

Definition at line 202 of file apr_file_info.h.

apr_off_t apr_finfo_t::csize

The storage size consumed by the file

Definition at line 200 of file apr_file_info.h.

The time the file was created, or the inode was last changed

Definition at line 206 of file apr_file_info.h.

The id of the device the file is on.

Definition at line 194 of file apr_file_info.h.

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

Definition at line 212 of file apr_file_info.h.

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.

Definition at line 186 of file apr_file_info.h.

const char* apr_finfo_t::fname

The pathname of the file (possibly unrooted)

Definition at line 208 of file apr_file_info.h.

The group id that owns the file

Definition at line 190 of file apr_file_info.h.

apr_ino_t apr_finfo_t::inode

The inode of the file.

Definition at line 192 of file apr_file_info.h.

The time the file was last modified

Definition at line 204 of file apr_file_info.h.

const char* apr_finfo_t::name

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

Definition at line 210 of file apr_file_info.h.

apr_int32_t apr_finfo_t::nlink

The number of hard links to the file.

Definition at line 196 of file apr_file_info.h.

Allocates memory and closes lingering handles in the specified pool

Definition at line 176 of file apr_file_info.h.

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

Definition at line 181 of file apr_file_info.h.

apr_off_t apr_finfo_t::size

The size of the file

Definition at line 198 of file apr_file_info.h.

The user id that owns the file

Definition at line 188 of file apr_file_info.h.

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

Definition at line 179 of file apr_file_info.h.


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