Apache HTTPD
Functions | Variables
cache_storage.c File Reference
#include "mod_cache.h"
#include "cache_storage.h"
#include "cache_util.h"

Go to the source code of this file.

Functions

int cache_remove_url (cache_request_rec *cache, request_rec *r)
 
int cache_create_entity (cache_request_rec *cache, request_rec *r, apr_off_t size, apr_bucket_brigade *in)
 
static int filter_header_do (void *v, const char *key, const char *val)
 
static int remove_header_do (void *v, const char *key, const char *val)
 
static int add_header_do (void *v, const char *key, const char *val)
 
void cache_accept_headers (cache_handle_t *h, request_rec *r, apr_table_t *top, apr_table_t *bottom, int revalidation)
 
int cache_select (cache_request_rec *cache, request_rec *r)
 
static apr_status_t cache_canonicalise_key (request_rec *r, apr_pool_t *p, const char *path, const char *query, apr_uri_t *parsed_uri, const char **key)
 
apr_status_t cache_generate_key_default (request_rec *r, apr_pool_t *p, const char **key)
 
int cache_invalidate (cache_request_rec *cache, request_rec *r)
 

Variables

static int *const aplog_module_index = &( cache_module.module_index)
 
apr_OFN_ap_cache_generate_key_tcache_generate_key
 

Function Documentation

◆ add_header_do()

static int add_header_do ( void *  v,
const char key,
const char val 
)
static

Definition at line 142 of file cache_storage.c.

◆ cache_canonicalise_key()

static apr_status_t cache_canonicalise_key ( request_rec r,
apr_pool_t p,
const char path,
const char query,
apr_uri_t parsed_uri,
const char **  key 
)
static

< Reverse proxy

< Reverse proxy

Definition at line 428 of file cache_storage.c.

◆ filter_header_do()

static int filter_header_do ( void *  v,
const char key,
const char val 
)
static

Definition at line 116 of file cache_storage.c.

◆ remove_header_do()

static int remove_header_do ( void *  v,
const char key,
const char val 
)
static

Definition at line 130 of file cache_storage.c.

Variable Documentation

◆ aplog_module_index

int* const aplog_module_index = &( cache_module.module_index)
static

Definition at line 22 of file cache_storage.c.

◆ cache_generate_key

apr_OFN_ap_cache_generate_key_t* cache_generate_key
extern

Definition at line 23 of file mod_cache.c.