Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
cache_storage.h
Go to the documentation of this file.
1 /* Licensed to the Apache Software Foundation (ASF) under one or more
2  * contributor license agreements. See the NOTICE file distributed with
3  * this work for additional information regarding copyright ownership.
4  * The ASF licenses this file to You under the Apache License, Version 2.0
5  * (the "License"); you may not use this file except in compliance with
6  * the License. You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
26 #ifndef CACHE_STORAGE_H
27 #define CACHE_STORAGE_H
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
33 #include "mod_cache.h"
34 #include "cache_util.h"
35 
43 
56 
58  const char **key);
59 
69  apr_table_t *bottom, int revalidation);
70 
71 #ifdef __cplusplus
72 }
73 #endif
74 
75 #endif /* !CACHE_STORAGE_H */
76 
Main include file for the Apache Transparent Cache.
int cache_select(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)
Definition: apr_buckets.h:258
void cache_accept_headers(cache_handle_t *h, request_rec *r, apr_table_t *top, apr_table_t *bottom, int revalidation)
dav_buffer apr_size_t size
Definition: mod_dav.h:457
int cache_invalidate(cache_request_rec *cache, request_rec *r)
Definition: mod_cache.h:91
apr_pool_t * p
A structure that represents the current request.
Definition: httpd.h:806
Cache Storage Functions.
struct apr_table_t apr_table_t
Definition: apr_tables.h:56
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
int apr_status_t
Definition: apr_errno.h:44
request_rec * r
Definition: mod_dav.h:515
apr_status_t cache_generate_key_default(request_rec *r, apr_pool_t *p, const char **key)
Definition: cache_util.h:210
off_t apr_off_t
Definition: apr.h:377
int cache_remove_url(cache_request_rec *cache, request_rec *r)