cache_storage.h revision f86a86eea994dc0d186331bec991eed99d108056
f86a86eea994dc0d186331bec991eed99d108056minfrin/* Licensed to the Apache Software Foundation (ASF) under one or more
f86a86eea994dc0d186331bec991eed99d108056minfrin * contributor license agreements. See the NOTICE file distributed with
f86a86eea994dc0d186331bec991eed99d108056minfrin * this work for additional information regarding copyright ownership.
f86a86eea994dc0d186331bec991eed99d108056minfrin * The ASF licenses this file to You under the Apache License, Version 2.0
f86a86eea994dc0d186331bec991eed99d108056minfrin * (the "License"); you may not use this file except in compliance with
f86a86eea994dc0d186331bec991eed99d108056minfrin * the License. You may obtain a copy of the License at
f86a86eea994dc0d186331bec991eed99d108056minfrin *
f86a86eea994dc0d186331bec991eed99d108056minfrin * http://www.apache.org/licenses/LICENSE-2.0
f86a86eea994dc0d186331bec991eed99d108056minfrin *
f86a86eea994dc0d186331bec991eed99d108056minfrin * Unless required by applicable law or agreed to in writing, software
f86a86eea994dc0d186331bec991eed99d108056minfrin * distributed under the License is distributed on an "AS IS" BASIS,
f86a86eea994dc0d186331bec991eed99d108056minfrin * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
f86a86eea994dc0d186331bec991eed99d108056minfrin * See the License for the specific language governing permissions and
f86a86eea994dc0d186331bec991eed99d108056minfrin * limitations under the License.
f86a86eea994dc0d186331bec991eed99d108056minfrin */
f86a86eea994dc0d186331bec991eed99d108056minfrin
f86a86eea994dc0d186331bec991eed99d108056minfrin/**
f86a86eea994dc0d186331bec991eed99d108056minfrin * @file cache_storage.h
f86a86eea994dc0d186331bec991eed99d108056minfrin * @brief Cache Storage Functions
f86a86eea994dc0d186331bec991eed99d108056minfrin *
f86a86eea994dc0d186331bec991eed99d108056minfrin * @defgroup Cache_storage Cache Storage Functions
f86a86eea994dc0d186331bec991eed99d108056minfrin * @ingroup MOD_CACHE
f86a86eea994dc0d186331bec991eed99d108056minfrin * @{
f86a86eea994dc0d186331bec991eed99d108056minfrin */
f86a86eea994dc0d186331bec991eed99d108056minfrin
f86a86eea994dc0d186331bec991eed99d108056minfrin#ifndef CACHE_STORAGE_H
f86a86eea994dc0d186331bec991eed99d108056minfrin#define CACHE_STORAGE_H
f86a86eea994dc0d186331bec991eed99d108056minfrin
f86a86eea994dc0d186331bec991eed99d108056minfrin#ifdef __cplusplus
f86a86eea994dc0d186331bec991eed99d108056minfrinextern "C" {
f86a86eea994dc0d186331bec991eed99d108056minfrin#endif
f86a86eea994dc0d186331bec991eed99d108056minfrin
f86a86eea994dc0d186331bec991eed99d108056minfrin#include "mod_cache.h"
f86a86eea994dc0d186331bec991eed99d108056minfrin
f86a86eea994dc0d186331bec991eed99d108056minfrin/**
f86a86eea994dc0d186331bec991eed99d108056minfrin * cache_storage.c
f86a86eea994dc0d186331bec991eed99d108056minfrin */
f86a86eea994dc0d186331bec991eed99d108056minfrin#define MOD_CACHE_REQUEST_REC "mod_cache_request_rec"
f86a86eea994dc0d186331bec991eed99d108056minfrinint cache_remove_url(cache_request_rec *cache, apr_pool_t *p);
f86a86eea994dc0d186331bec991eed99d108056minfrinint cache_create_entity(request_rec *r, apr_off_t size, apr_bucket_brigade *in);
f86a86eea994dc0d186331bec991eed99d108056minfrinint cache_select(request_rec *r);
f86a86eea994dc0d186331bec991eed99d108056minfrinapr_status_t cache_generate_key_default( request_rec *r, apr_pool_t*p, char**key );
f86a86eea994dc0d186331bec991eed99d108056minfrin
f86a86eea994dc0d186331bec991eed99d108056minfrin#ifdef __cplusplus
f86a86eea994dc0d186331bec991eed99d108056minfrin}
f86a86eea994dc0d186331bec991eed99d108056minfrin#endif
f86a86eea994dc0d186331bec991eed99d108056minfrin
f86a86eea994dc0d186331bec991eed99d108056minfrin#endif /* !CACHE_STORAGE_H */
f86a86eea994dc0d186331bec991eed99d108056minfrin/** @} */