17 #ifndef MOD_CACHE_DISK_H
18 #define MOD_CACHE_DISK_H
64 #define CACHEFILE_LEN 20
65 #define DEFAULT_DIRLEVELS 2
66 #define DEFAULT_DIRLENGTH 2
67 #define DEFAULT_MIN_FILE_SIZE 1
68 #define DEFAULT_MAX_FILE_SIZE 1000000
69 #define DEFAULT_READSIZE 0
70 #define DEFAULT_READTIME 0
Common Disk Cache vars/structs.
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
struct apr_table_t apr_table_t
Definition: apr_tables.h:56
apr_int64_t apr_time_t
Definition: apr_time.h:45
struct disk_cache_object disk_cache_object_t
Definition: apr_arch_file_io.h:107
Definition: mod_cache_disk.h:72
int dirlength
Definition: mod_cache_disk.h:76
int dirlevels
Definition: mod_cache_disk.h:75
apr_size_t cache_root_len
Definition: mod_cache_disk.h:74
const char * cache_root
Definition: mod_cache_disk.h:73
Definition: mod_cache_disk.h:79
unsigned int minfs_set
Definition: mod_cache_disk.h:84
unsigned int readtime_set
Definition: mod_cache_disk.h:87
unsigned int readsize_set
Definition: mod_cache_disk.h:86
apr_off_t maxfs
Definition: mod_cache_disk.h:81
unsigned int maxfs_set
Definition: mod_cache_disk.h:85
apr_off_t readsize
Definition: mod_cache_disk.h:82
apr_time_t readtime
Definition: mod_cache_disk.h:83
apr_off_t minfs
Definition: mod_cache_disk.h:80
Definition: mod_cache_disk.h:28
apr_pool_t * pool
Definition: mod_cache_disk.h:29
apr_file_t * tempfd
Definition: mod_cache_disk.h:33
apr_file_t * fd
Definition: mod_cache_disk.h:31
const char * file
Definition: mod_cache_disk.h:30
char * tempfile
Definition: mod_cache_disk.h:32
Definition: cache_disk_common.h:43
Definition: mod_cache_disk.h:40
const char * hashfile
Definition: mod_cache_disk.h:47
disk_cache_file_t hdrs
Definition: mod_cache_disk.h:45
disk_cache_file_t data
Definition: mod_cache_disk.h:44
apr_table_t * headers_out
Definition: mod_cache_disk.h:53
apr_table_t * headers_in
Definition: mod_cache_disk.h:52
apr_off_t file_size
Definition: mod_cache_disk.h:50
disk_cache_file_t vary
Definition: mod_cache_disk.h:46
const char * name
Definition: mod_cache_disk.h:48
disk_cache_info_t disk_info
Definition: mod_cache_disk.h:51
const char * key
Definition: mod_cache_disk.h:49
apr_off_t offset
Definition: mod_cache_disk.h:54
const char * root
Definition: mod_cache_disk.h:41
unsigned int done
Definition: mod_cache_disk.h:56
apr_time_t timeout
Definition: mod_cache_disk.h:55
apr_size_t root_len
Definition: mod_cache_disk.h:42
const char * prefix
Definition: mod_cache_disk.h:43