35 #if APR_HAVE_SYS_TYPES_H
36 #include <sys/types.h>
44 #if APR_HAVE_STRINGS_H
50 #ifdef HAVE_SYS_STAT_H
62 #if APR_HAVE_SYS_UIO_H
65 #if APR_HAVE_SYS_TIME_H
73 #define APR_FILE_DEFAULT_BUFSIZE 4096
75 #define APR_FILE_BUFSIZE APR_FILE_DEFAULT_BUFSIZE
78 #define file_lock(f) do { \
80 apr_thread_mutex_lock((f)->thlock); \
82 #define file_unlock(f) do { \
84 apr_thread_mutex_unlock((f)->thlock); \
87 #define file_lock(f) do {} while (0)
88 #define file_unlock(f) do {} while (0)
91 #if APR_HAS_LARGE_FILES
92 #define lseek(f,o,w) lseek64(f,o,w)
93 #define ftruncate(f,l) ftruncate64(f,l)
151 #define MAX_SERVER_NAME 64
152 #define MAX_VOLUME_NAME 64
153 #define MAX_PATH_NAME 256
154 #define MAX_FILE_NAME 256
APR Platform Definitions.
APR Miscellaneous library routines.
APR general purpose library routines.
apr_bucket_brigade ap_input_mode_t mode
Definition: mod_dav.h:2662
int apr_status_t
Definition: apr_errno.h:44
apr_int32_t apr_fileperms_t
Definition: apr_file_info.h:125
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
apr_int64_t apr_interval_time_t
Definition: apr_time.h:55
apr_int64_t apr_time_t
Definition: apr_time.h:45
apr_status_t filepath_root_case(char **rootpath, char *root, apr_pool_t *p)
mode_t apr_unix_perms2mode(apr_fileperms_t perms)
struct stat struct_stat
Definition: apr_arch_file_io.h:96
apr_status_t apr_unix_file_cleanup(void *)
struct apr_rotating_info_t apr_rotating_info_t
apr_status_t filepath_compare_drive(const char *path1, const char *path2, apr_pool_t *p)
apr_status_t filepath_has_drive(const char *rootpath, int only, apr_pool_t *p)
apr_fileperms_t apr_unix_mode2perms(mode_t mode)
apr_status_t apr_unix_child_file_cleanup(void *)
apr_status_t apr_file_flush_locked(apr_file_t *thefile)
apr_status_t apr_file_info_get_locked(apr_finfo_t *finfo, apr_int32_t wanted, apr_file_t *thefile)
Definition: apr_arch_file_io.h:135
char * dirname
Definition: apr_arch_file_io.h:137
struct dirent * entry
Definition: apr_arch_file_io.h:139
apr_pool_t * pool
Definition: apr_arch_file_io.h:136
DIR * dirstruct
Definition: apr_arch_file_io.h:138
Definition: apr_arch_file_io.h:107
apr_pollset_t * pollset
Definition: apr_arch_file_io.h:120
int direction
Definition: apr_arch_file_io.h:127
apr_int32_t flags
Definition: apr_arch_file_io.h:111
int is_pipe
Definition: apr_arch_file_io.h:113
apr_interval_time_t timeout
Definition: apr_arch_file_io.h:114
apr_size_t bufpos
Definition: apr_arch_file_io.h:124
apr_off_t filePtr
Definition: apr_arch_file_io.h:128
int filedes
Definition: apr_arch_file_io.h:109
apr_off_t dataRead
Definition: apr_arch_file_io.h:126
int ungetchar
Definition: apr_arch_file_io.h:117
char * buffer
Definition: apr_arch_file_io.h:123
apr_pool_t * pool
Definition: apr_arch_file_io.h:108
@ BLK_OFF
Definition: apr_arch_file_io.h:116
@ BLK_ON
Definition: apr_arch_file_io.h:116
@ BLK_UNKNOWN
Definition: apr_arch_file_io.h:116
apr_rotating_info_t * rotating
Definition: apr_arch_file_io.h:132
struct apr_thread_mutex_t * thlock
Definition: apr_arch_file_io.h:130
char * fname
Definition: apr_arch_file_io.h:110
int buffered
Definition: apr_arch_file_io.h:115
enum apr_file_t::@20 blocking
apr_size_t bufsize
Definition: apr_arch_file_io.h:125
int eof_hit
Definition: apr_arch_file_io.h:112
Definition: apr_file_info.h:174
Definition: apr_arch_poll_private.h:124
Definition: apr_arch_file_io.h:98
apr_interval_time_t timeout
Definition: apr_arch_file_io.h:100
int manual
Definition: apr_arch_file_io.h:103
apr_finfo_t finfo
Definition: apr_arch_file_io.h:99
apr_fileperms_t perm
Definition: apr_arch_file_io.h:104
int oflags
Definition: apr_arch_file_io.h:102
apr_time_t lastcheck
Definition: apr_arch_file_io.h:101
Definition: apr_arch_file_io.h:144
char * casedName
Definition: apr_arch_file_io.h:146
apr_time_t expire
Definition: apr_arch_file_io.h:147
NXPathCtx_t pathCtx
Definition: apr_arch_file_io.h:148
struct stat info
Definition: apr_arch_file_io.h:145
Definition: apr_arch_thread_mutex.h:28