#include "apr.h"
#include "apr_user.h"
#include "apr_pools.h"
#include "apr_tables.h"
#include "apr_time.h"
#include "apr_errno.h"
#include <sys/uio.h>
Go to the source code of this file.
Data Structures | |
struct | apr_finfo_t |
Defines | |
#define | APR_UREAD 0x0400 /**< Read by user */ |
#define | APR_UWRITE 0x0200 /**< Write by user */ |
#define | APR_UEXECUTE 0x0100 /**< Execute by user */ |
#define | APR_GREAD 0x0040 /**< Read by group */ |
#define | APR_GWRITE 0x0020 /**< Write by group */ |
#define | APR_GEXECUTE 0x0010 /**< Execute by group */ |
#define | APR_WREAD 0x0004 /**< Read by others */ |
#define | APR_WWRITE 0x0002 /**< Write by others */ |
#define | APR_WEXECUTE 0x0001 /**< Execute by others */ |
#define | APR_OS_DEFAULT 0x0FFF /**< use OS's default permissions */ |
#define | APR_FILE_SOURCE_PERMS 0x1000 /**< Copy source file's permissions */ |
#define | APR_FINFO_LINK 0x00000001 /**< Stat the link not the file itself if it is a link */ |
#define | APR_FINFO_MTIME 0x00000010 /**< Modification Time */ |
#define | APR_FINFO_CTIME 0x00000020 /**< Creation Time */ |
#define | APR_FINFO_ATIME 0x00000040 /**< Access Time */ |
#define | APR_FINFO_SIZE 0x00000100 /**< Size of the file */ |
#define | APR_FINFO_CSIZE 0x00000200 /**< Storage size consumed by the file */ |
#define | APR_FINFO_DEV 0x00001000 /**< Device */ |
#define | APR_FINFO_INODE 0x00002000 /**< Inode */ |
#define | APR_FINFO_NLINK 0x00004000 /**< Number of links */ |
#define | APR_FINFO_TYPE 0x00008000 /**< Type */ |
#define | APR_FINFO_USER 0x00010000 /**< User */ |
#define | APR_FINFO_GROUP 0x00020000 /**< Group */ |
#define | APR_FINFO_UPROT 0x00100000 /**< User protection bits */ |
#define | APR_FINFO_GPROT 0x00200000 /**< Group protection bits */ |
#define | APR_FINFO_WPROT 0x00400000 /**< World protection bits */ |
#define | APR_FINFO_ICASE 0x01000000 /**< if dev is case insensitive */ |
#define | APR_FINFO_NAME 0x02000000 /**< ->name in proper case */ |
#define | APR_FINFO_MIN 0x00008170 /**< type, mtime, ctime, atime, size */ |
#define | APR_FINFO_IDENT 0x00003000 /**< dev and inode */ |
#define | APR_FINFO_OWNER 0x00030000 /**< user and group */ |
#define | APR_FINFO_PROT 0x00700000 /**< all protections */ |
#define | APR_FINFO_NORM 0x0073b170 /**< an atomic unix apr_stat() */ |
#define | APR_FINFO_DIRENT 0x02000000 /**< an atomic unix apr_dir_read() */ |
#define | APR_FILEPATH_NOTABOVEROOT 0x01 |
#define | APR_FILEPATH_SECUREROOTTEST 0x02 |
#define | APR_FILEPATH_SECUREROOT 0x03 |
#define | APR_FILEPATH_NOTRELATIVE 0x04 |
#define | APR_FILEPATH_NOTABSOLUTE 0x08 |
#define | APR_FILEPATH_NATIVE 0x10 |
#define | APR_FILEPATH_TRUENAME 0x20 |
#define | APR_FILEPATH_ENCODING_UNKNOWN 0 |
#define | APR_FILEPATH_ENCODING_LOCALE 1 |
#define | APR_FILEPATH_ENCODING_UTF8 2 |
Typedefs | |
typedef apr_dir_t | apr_dir_t |
typedef apr_int32_t | apr_fileperms_t |
typedef ino_t | apr_ino_t |
typedef dev_t | apr_dev_t |
typedef apr_finfo_t | apr_finfo_t |
Enumerations | |
enum | apr_filetype_e { APR_NOFILE = 0, APR_REG, APR_DIR, APR_CHR, APR_BLK, APR_PIPE, APR_LNK, APR_SOCK, APR_UNKFILE = 127 } |
Functions | |
apr_status_t | apr_stat (apr_finfo_t *finfo, const char *fname, apr_int32_t wanted, apr_pool_t *cont) |
apr_status_t | apr_lstat (apr_finfo_t *finfo, const char *fname, apr_int32_t wanted, apr_pool_t *cont) |
apr_status_t | apr_dir_open (apr_dir_t **new_dir, const char *dirname, apr_pool_t *cont) |
apr_status_t | apr_dir_close (apr_dir_t *thedir) |
apr_status_t | apr_dir_read (apr_finfo_t *finfo, apr_int32_t wanted, apr_dir_t *thedir) |
apr_status_t | apr_dir_rewind (apr_dir_t *thedir) |
apr_status_t | apr_filepath_root (const char **rootpath, const char **filepath, apr_int32_t flags, apr_pool_t *p) |
apr_status_t | apr_filepath_merge (char **newpath, const char *rootpath, const char *addpath, apr_int32_t flags, apr_pool_t *p) |
apr_status_t | apr_filepath_list_split (apr_array_header_t **pathelts, const char *liststr, apr_pool_t *p) |
apr_status_t | apr_filepath_list_merge (char **liststr, apr_array_header_t *pathelts, apr_pool_t *p) |
apr_status_t | apr_filepath_get (char **path, apr_int32_t flags, apr_pool_t *p) |
apr_status_t | apr_filepath_set (const char *path, apr_pool_t *p) |
apr_status_t | apr_filepath_encoding (int *style, apr_pool_t *p) |