Blame include/mod_request.h

Packit 90a5c9
/* Licensed to the Apache Software Foundation (ASF) under one or more
Packit 90a5c9
 * contributor license agreements.  See the NOTICE file distributed with
Packit 90a5c9
 * this work for additional information regarding copyright ownership.
Packit 90a5c9
 * The ASF licenses this file to You under the Apache License, Version 2.0
Packit 90a5c9
 * (the "License"); you may not use this file except in compliance with
Packit 90a5c9
 * the License.  You may obtain a copy of the License at
Packit 90a5c9
 *
Packit 90a5c9
 *     http://www.apache.org/licenses/LICENSE-2.0
Packit 90a5c9
 *
Packit 90a5c9
 * Unless required by applicable law or agreed to in writing, software
Packit 90a5c9
 * distributed under the License is distributed on an "AS IS" BASIS,
Packit 90a5c9
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Packit 90a5c9
 * See the License for the specific language governing permissions and
Packit 90a5c9
 * limitations under the License.
Packit 90a5c9
 */
Packit 90a5c9
Packit 90a5c9
Packit 90a5c9
/**
Packit 90a5c9
 * @file  mod_request.h
Packit 90a5c9
 * @brief mod_request private header file
Packit 90a5c9
 *
Packit 90a5c9
 * @defgroup MOD_REQUEST mod_request
Packit 90a5c9
 * @ingroup  APACHE_MODS
Packit 90a5c9
 * @{
Packit 90a5c9
 */
Packit 90a5c9
Packit 90a5c9
#ifndef MOD_REQUEST_H
Packit 90a5c9
#define MOD_REQUEST_H
Packit 90a5c9
Packit 90a5c9
#include "apr.h"
Packit 90a5c9
#include "apr_buckets.h"
Packit 90a5c9
#include "apr_optional.h"
Packit 90a5c9
Packit 90a5c9
#include "httpd.h"
Packit 90a5c9
#include "util_filter.h"
Packit 90a5c9
Packit 90a5c9
Packit 90a5c9
#ifdef __cplusplus
Packit 90a5c9
extern "C" {
Packit 90a5c9
#endif
Packit 90a5c9
Packit 90a5c9
extern module AP_MODULE_DECLARE_DATA request_module;
Packit 90a5c9
Packit 90a5c9
#define KEEP_BODY_FILTER "KEEP_BODY"
Packit 90a5c9
#define KEPT_BODY_FILTER "KEPT_BODY"
Packit 90a5c9
Packit 90a5c9
/**
Packit 90a5c9
 * Core per-directory configuration.
Packit 90a5c9
 */
Packit 90a5c9
typedef struct {
Packit 90a5c9
    apr_off_t keep_body;
Packit 90a5c9
    int keep_body_set;
Packit 90a5c9
} request_dir_conf;
Packit 90a5c9
Packit 90a5c9
APR_DECLARE_OPTIONAL_FN(void, ap_request_insert_filter, (request_rec * r));
Packit 90a5c9
Packit 90a5c9
APR_DECLARE_OPTIONAL_FN(void, ap_request_remove_filter, (request_rec * r));
Packit 90a5c9
Packit 90a5c9
#ifdef __cplusplus
Packit 90a5c9
}
Packit 90a5c9
#endif
Packit 90a5c9
Packit 90a5c9
#endif /* !MOD_REQUEST_H */
Packit 90a5c9
/** @} */