Apache HTTPD
mod_core.h
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 */
16
17
27#ifndef MOD_CORE_H
28#define MOD_CORE_H
29
30#include "apr.h"
31#include "apr_buckets.h"
32
33#include "httpd.h"
34#include "util_filter.h"
35
36
37#ifdef __cplusplus
38extern "C" {
39#endif
40
41/* Handles for core filters */
47
48/*
49 * These (input) filters are internal to the mod_core operation.
50 */
53 apr_off_t readbytes);
54
55/* HTTP/1.1 chunked transfer encoding filter. */
57
58/* Filter to handle any error buckets on output */
61
62char *ap_response_code_string(request_rec *r, int error_index);
63
74
83
89
90/* Used for multipart/byteranges boundary string */
91AP_DECLARE_DATA extern const char *ap_multipart_boundary;
92
93/* Init RNG at startup */
95/* Update RNG state in parent after fork */
97
98#ifdef __cplusplus
99}
100#endif
101
102#endif /* !MOD_CORE_H */
#define AP_DECLARE_DATA
Definition ap_config.h:89
#define AP_DECLARE_NONSTD(type)
Definition ap_config.h:77
#define AP_DECLARE(type)
Definition ap_config.h:67
APR-UTIL Buckets/Bucket Brigades.
request_rec * r
#define AP_CORE_DECLARE
Definition httpd.h:381
apr_file_t * f
apr_read_type_e
Definition apr_buckets.h:57
apr_dbd_transaction_t int mode
Definition apr_dbd.h:261
apr_status_t ap_http_chunk_filter(ap_filter_t *f, apr_bucket_brigade *b)
ap_filter_rec_t * ap_chunk_filter_handle
Definition http_core.c:40
int ap_send_http_trace(request_rec *r)
const char * ap_multipart_boundary
Definition http_core.c:44
ap_filter_rec_t * ap_http_outerror_filter_handle
Definition http_core.c:41
char * ap_response_code_string(request_rec *r, int error_index)
Definition core.c:878
ap_filter_rec_t * ap_http_header_filter_handle
Definition http_core.c:39
ap_filter_rec_t * ap_http_input_filter_handle
Definition http_core.c:38
void ap_init_rng(apr_pool_t *p)
Definition core.c:5435
ap_filter_rec_t * ap_byterange_filter_handle
Definition http_core.c:42
int ap_send_http_options(request_rec *r)
apr_status_t ap_http_filter(ap_filter_t *f, apr_bucket_brigade *b, ap_input_mode_t mode, apr_read_type_e block, apr_off_t readbytes)
void ap_basic_http_header(request_rec *r, apr_bucket_brigade *bb)
void ap_random_parent_after_fork(void)
Definition core.c:5420
apr_status_t ap_http_outerror_filter(ap_filter_t *f, apr_bucket_brigade *b)
int apr_status_t
Definition apr_errno.h:44
apr_pool_t * b
Definition apr_pools.h:529
HTTP Daemon routines.
apr_pool_t * p
Definition md_event.c:32
This structure is used for recording information about the registered filters. It associates a name w...
The representation of a filter chain.
A structure that represents the current request.
Definition httpd.h:845
Apache filter library.
ap_input_mode_t
input filtering modes
Definition util_filter.h:41