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"
const char apr_size_t len
APR-UTIL registration of functions exported by modules.
#define APR_DECLARE_EXTERNAL_HOOK(ns, link, ret, name, args)
#define APR_DECLARE_OPTIONAL_FN(ret, name, args)
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)
char * ap_cache_generate_name(apr_pool_t *p, int dirlevels, int dirlength, const char *name)
apr_table_t * ap_cache_cacheable_headers(apr_pool_t *pool, apr_table_t *t, server_rec *s)
apr_time_t ap_cache_hex2usec(const char *x)
#define CACHE_DECLARE(type)
void ap_cache_usec2hex(apr_time_t j, char *y)
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_in(request_rec *r)
apr_table_t * ap_cache_cacheable_headers_out(request_rec *r)
const char int apr_pool_t * pool
const apr_array_header_t * list
static int cache_status(cache_handle_t *h, request_rec *r, apr_table_t *headers, ap_cache_status_e status, const char *reason)
static apr_status_t recall_body(cache_handle_t *h, apr_pool_t *p, apr_bucket_brigade *bb)
static int remove_entity(cache_handle_t *h)
static apr_status_t store_body(cache_handle_t *h, request_rec *r, apr_bucket_brigade *in, apr_bucket_brigade *out)
static apr_status_t commit_entity(cache_handle_t *h, request_rec *r)
static apr_status_t store_headers(cache_handle_t *h, request_rec *r, cache_info *i)
static int create_entity(cache_handle_t *h, request_rec *r, const char *key, apr_off_t len, apr_bucket_brigade *bb)
static apr_status_t invalidate_entity(cache_handle_t *h, request_rec *r)
static int open_entity(cache_handle_t *h, request_rec *r, const char *key)
static apr_status_t recall_headers(cache_handle_t *h, request_rec *r)
static int remove_url(cache_handle_t *h, request_rec *r)
cache_object_t * cache_obj
A structure that represents the current request.
A structure to store information for each virtual server.
typedef int(WSAAPI *apr_winapi_fpt_WSAPoll)(IN OUT LPWSAPOLLFD fdArray