26 #ifndef CACHE_DIST_COMMON_H
27 #define CACHE_DIST_COMMON_H
29 #define VARY_FORMAT_VERSION 5
30 #define DISK_FORMAT_VERSION 6
32 #define CACHE_HEADER_SUFFIX ".header"
33 #define CACHE_DATA_SUFFIX ".data"
34 #define CACHE_VDIR_SUFFIX ".vary"
36 #define AP_TEMPFILE_PREFIX "/"
37 #define AP_TEMPFILE_BASE "aptmp"
38 #define AP_TEMPFILE_SUFFIX "XXXXXX"
39 #define AP_TEMPFILE_BASELEN strlen(AP_TEMPFILE_BASE)
40 #define AP_TEMPFILE_NAMELEN strlen(AP_TEMPFILE_BASE AP_TEMPFILE_SUFFIX)
41 #define AP_TEMPFILE AP_TEMPFILE_PREFIX AP_TEMPFILE_BASE AP_TEMPFILE_SUFFIX
dev_t apr_dev_t
Definition: apr_file_info.h:135
apr_int64_t apr_time_t
Definition: apr_time.h:45
Definition: cache_common.h:30
Definition: cache_disk_common.h:43
apr_dev_t device
Definition: cache_disk_common.h:59
unsigned int has_body
Definition: cache_disk_common.h:61
int status
Definition: cache_disk_common.h:47
cache_control_t control
Definition: cache_disk_common.h:64
apr_size_t entity_version
Definition: cache_disk_common.h:51
apr_time_t request_time
Definition: cache_disk_common.h:55
apr_time_t response_time
Definition: cache_disk_common.h:56
apr_time_t date
Definition: cache_disk_common.h:53
apr_uint32_t format
Definition: cache_disk_common.h:45
apr_time_t expire
Definition: cache_disk_common.h:54
apr_size_t name_len
Definition: cache_disk_common.h:49
apr_ino_t inode
Definition: cache_disk_common.h:58
unsigned int header_only
Definition: cache_disk_common.h:62