mod_core.h revision ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dc
/* Copyright 2000-2004 Apache Software Foundation
*
* Licensed 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.
*/
#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
/**
* @package mod_core private header file
*/
/* Handles for core filters */
/*
* These (input) filters are internal to the mod_core operation.
*/
/**
* 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.
* @deffunc 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
* @tip 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
*/
#ifdef __cplusplus
}
#endif
#endif /* !MOD_CORE_H */