40 #define CACHE_DECLARE(type) type
41 #define CACHE_DECLARE_NONSTD(type) type
42 #define CACHE_DECLARE_DATA
43 #elif defined(CACHE_DECLARE_STATIC)
44 #define CACHE_DECLARE(type) type __stdcall
45 #define CACHE_DECLARE_NONSTD(type) type
46 #define CACHE_DECLARE_DATA
47 #elif defined(CACHE_DECLARE_EXPORT)
48 #define CACHE_DECLARE(type) __declspec(dllexport) type __stdcall
49 #define CACHE_DECLARE_NONSTD(type) __declspec(dllexport) type
50 #define CACHE_DECLARE_DATA __declspec(dllexport)
52 #define CACHE_DECLARE(type) __declspec(dllimport) type __stdcall
53 #define CACHE_DECLARE_NONSTD(type) __declspec(dllimport) type
54 #define CACHE_DECLARE_DATA __declspec(dllimport)
97 #define CACHE_PROVIDER_GROUP "cache"
122 #define AP_CACHE_HIT_ENV "cache-hit"
123 #define AP_CACHE_REVALIDATE_ENV "cache-revalidate"
124 #define AP_CACHE_MISS_ENV "cache-miss"
125 #define AP_CACHE_INVALIDATE_ENV "cache-invalidate"
126 #define AP_CACHE_STATUS_ENV "cache-status"
APR-UTIL registration of functions exported by modules.
#define APR_DECLARE_EXTERNAL_HOOK(ns, link, ret, name, args)
Definition: apr_hooks.h:118
#define APR_DECLARE_OPTIONAL_FN(ret, name, args)
Definition: apr_optional.h:50
char * ap_cache_generate_name(apr_pool_t *p, int dirlevels, int dirlength, const char *name)
int ap_cache_control(request_rec *r, cache_control_t *cc, const char *cc_header, const char *pragma_header, apr_table_t *headers)
const char * ap_cache_tokstr(apr_pool_t *p, const char *list, const char **str)
ap_cache_status_e
Definition: mod_cache.h:115
apr_table_t * ap_cache_cacheable_headers_out(request_rec *r)
apr_time_t ap_cache_hex2usec(const char *x)
apr_status_t ap_cache_generate_key(request_rec *r, apr_pool_t *p, const char **key)
#define CACHE_DECLARE(type)
Definition: mod_cache.h:40
void ap_cache_usec2hex(apr_time_t j, char *y)
apr_table_t * ap_cache_cacheable_headers_in(request_rec *r)
apr_time_t ap_cache_current_age(cache_info *info, const apr_time_t age_value, apr_time_t now)
apr_table_t * ap_cache_cacheable_headers(apr_pool_t *pool, apr_table_t *t, server_rec *s)
@ AP_CACHE_REVALIDATE
Definition: mod_cache.h:117
@ AP_CACHE_INVALIDATE
Definition: mod_cache.h:119
@ AP_CACHE_HIT
Definition: mod_cache.h:116
@ AP_CACHE_MISS
Definition: mod_cache.h:118
request_rec * r
Definition: mod_dav.h:518
dav_buffer const char * str
Definition: mod_dav.h:465
const dav_liveprop_group const dav_liveprop_spec ** info
Definition: mod_dav.h:1055
int status
Definition: mod_dav.h:141
apr_bucket_brigade * bb
Definition: mod_dav.h:555
const char * s
Definition: mod_dav.h:1327
apr_bucket_brigade request_rec apr_pool_t * pool
Definition: mod_dav.h:557
const char * name
Definition: mod_dav.h:805
apr_table_t * headers
Definition: mod_proxy.h:1484
int
Definition: mod_proxy.h:674
int apr_status_t
Definition: apr_errno.h:44
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
Definition: apr_buckets.h:263
Definition: cache_common.h:30
Definition: mod_cache.h:91
apr_table_t * req_hdrs
Definition: mod_cache.h:93
apr_table_t * resp_hdrs
Definition: mod_cache.h:94
cache_object_t * cache_obj
Definition: mod_cache.h:92
Definition: mod_cache.h:59
apr_time_t date
Definition: mod_cache.h:64
int status
Definition: mod_cache.h:75
apr_time_t expire
Definition: mod_cache.h:66
apr_time_t request_time
Definition: mod_cache.h:68
apr_time_t response_time
Definition: mod_cache.h:70
cache_control_t control
Definition: mod_cache.h:77
Definition: mod_cache.h:82
const char * key
Definition: mod_cache.h:83
cache_object_t * next
Definition: mod_cache.h:84
cache_info info
Definition: mod_cache.h:85
void * vobj
Definition: mod_cache.h:87
Definition: mod_cache.h:99
A structure that represents the current request.
Definition: httpd.h:856
A structure to store information for each virtual server.
Definition: httpd.h:1382