54#define APR_FOPEN_READ 0x00001
55#define APR_FOPEN_WRITE 0x00002
56#define APR_FOPEN_CREATE 0x00004
57#define APR_FOPEN_APPEND 0x00008
58#define APR_FOPEN_TRUNCATE 0x00010
60#define APR_FOPEN_BINARY 0x00020
63#define APR_FOPEN_EXCL 0x00040
65#define APR_FOPEN_BUFFERED 0x00080
66#define APR_FOPEN_DELONCLOSE 0x00100
67#define APR_FOPEN_XTHREAD 0x00200
70#define APR_FOPEN_SHARELOCK 0x00400
74#define APR_FOPEN_NOCLEANUP 0x00800
79#define APR_FOPEN_SENDFILE_ENABLED 0x01000
82#define APR_FOPEN_LARGEFILE 0x04000
85#define APR_FOPEN_SPARSE 0x08000
88#define APR_FOPEN_NONBLOCK 0x40000
93#define APR_READ APR_FOPEN_READ
94#define APR_WRITE APR_FOPEN_WRITE
95#define APR_CREATE APR_FOPEN_CREATE
96#define APR_APPEND APR_FOPEN_APPEND
97#define APR_TRUNCATE APR_FOPEN_TRUNCATE
98#define APR_BINARY APR_FOPEN_BINARY
99#define APR_EXCL APR_FOPEN_EXCL
100#define APR_BUFFERED APR_FOPEN_BUFFERED
101#define APR_DELONCLOSE APR_FOPEN_DELONCLOSE
102#define APR_XTHREAD APR_FOPEN_XTHREAD
103#define APR_SHARELOCK APR_FOPEN_SHARELOCK
104#define APR_FILE_NOCLEANUP APR_FOPEN_NOCLEANUP
105#define APR_SENDFILE_ENABLED APR_FOPEN_SENDFILE_ENABLED
106#define APR_LARGEFILE APR_FOPEN_LARGEFILE
145#define APR_SET SEEK_SET
147#define APR_CUR SEEK_CUR
149#define APR_END SEEK_END
158#define APR_FILE_ATTR_READONLY 0x01
159#define APR_FILE_ATTR_EXECUTABLE 0x02
160#define APR_FILE_ATTR_HIDDEN 0x04
168#define APR_MAX_IOVEC_SIZE 1024
170#elif defined(IOV_MAX)
171#define APR_MAX_IOVEC_SIZE IOV_MAX
172#elif defined(MAX_IOVEC)
173#define APR_MAX_IOVEC_SIZE MAX_IOVEC
175#define APR_MAX_IOVEC_SIZE 1024
196#define APR_FLOCK_SHARED 1
202#define APR_FLOCK_EXCLUSIVE 2
207#define APR_FLOCK_TYPEMASK 0x000F
208#define APR_FLOCK_NONBLOCK 0x0010
APR File Handle Inheritance Helpers.
#define APR_DECLARE_INHERIT_SET(type)
#define APR_DECLARE_INHERIT_UNSET(type)
APR Standard Headers Support.
apr_status_t apr_dir_make_recursive(const char *path, apr_fileperms_t perm, apr_pool_t *pool)
request_rec int int apr_table_t const char * path
const void apr_status_t(*) apr_status_t(* APR_DECLARE)(void) apr_pool_pre_cleanup_register(apr_pool_t *p
apr_int32_t apr_fileperms_t
apr_uint32_t apr_fileattrs_t
const char apr_fileperms_t perms
const char apr_int32_t flag
apr_fileattrs_t attributes
apr_seek_where_t apr_off_t * offset
apr_file_t apr_pool_t * p
apr_file_t apr_int32_t apr_pool_t apr_pool_t * pool_out
void apr_size_t apr_size_t * bytes_read
const void apr_size_t apr_size_t * bytes_written
const char apr_file_t * file
void const char apr_status_t(* cleanup)(void *))
const struct iovec apr_size_t nvec
apr_file_t apr_int32_t blocking
const char apr_int32_t apr_fileperms_t apr_pool_t * pool
const char apr_int32_t apr_fileperms_t perm
apr_file_t apr_int32_t apr_pool_t * pool_in
apr_fileattrs_t apr_fileattrs_t attr_mask
APR_DECLARE_NONSTD(void) apr_terminate(void)
const char apr_status_t(*) apr_pool_t *poo __attribute__)((nonnull(2, 4)))
#define APR_POOL_DECLARE_ACCESSOR(type)
apr_size_t const char * filename
apr_int64_t apr_interval_time_t
apr_status_t apr_file_lock(apr_file_t *thefile, int type)
apr_status_t apr_file_unlock(apr_file_t *thefile)
apr_status_t apr_dir_make(const char *path, apr_fileperms_t perm, apr_pool_t *pool)
apr_status_t apr_dir_remove(const char *path, apr_pool_t *pool)
apr_status_t apr_file_trunc(apr_file_t *fp, apr_off_t offset)