mod_core.h revision 742318b93e89c311f66b55f426c4d9cf2c14628b
/* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @file mod_core.h
* @brief mod_core private header file
*
* @defgroup MOD_CORE mod_core
* @ingroup APACHE_MODS
* @{
*/
#ifndef MOD_CORE_H
#define MOD_CORE_H
#include "apr.h"
#include "apr_buckets.h"
#include "httpd.h"
#include "util_filter.h"
#ifdef __cplusplus
extern "C" {
#endif
/* Handles for core filters */
/*
* These (input) filters are internal to the mod_core operation.
*/
/* HTTP/1.1 chunked transfer encoding filter. */
/* Filter to handle any error buckets on output */
apr_bucket_brigade *b);
/**
* Send the minimal part of an HTTP response header.
* @param r The current request
* @param bb The brigade to add the header to.
* @warning Modules should be very careful about using this, and should
* the default behavior. Much of the HTTP/1.1 implementation
* correctness depends on the full headers.
* @fn void ap_basic_http_header(request_rec *r, apr_bucket_brigade *bb)
*/
/**
* Send an appropriate response to an http TRACE request.
* @param r The current request
* @note returns DONE or the HTTP status error if it handles the TRACE,
* or DECLINED if the request was not for TRACE.
* request method was not TRACE.
*/
/**
* Send an appropriate response to an http OPTIONS request.
* @param r The current request
*/
/* Used for multipart/byteranges boundary string */
extern AP_DECLARE_DATA const char *ap_multipart_boundary;
#ifdef __cplusplus
}
#endif
#endif /* !MOD_CORE_H */
/** @} */