All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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  */
26 #ifndef CACHE_STORAGE_H
27 #define CACHE_STORAGE_H
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
33 #include "mod_cache.h"
34 #include "cache_util.h"
58  const char **key);
69  apr_table_t *bottom, int revalidation);
71 #ifdef __cplusplus
72 }
73 #endif
75 #endif /* !CACHE_STORAGE_H */
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:460
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:860
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:518
apr_status_t cache_generate_key_default(request_rec *r, apr_pool_t *p, const char **key)
Definition: cache_util.h:209
off_t apr_off_t
Definition: apr.h:395
int cache_remove_url(cache_request_rec *cache, request_rec *r)