Apache2
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 "http_protocol.h"
35 #include "util_filter.h"
36 
37 
38 #ifdef __cplusplus
39 extern "C" {
40 #endif
41 
42 /* Handles for core filters */
50 
51 /*
52  * These (input) filters are internal to the mod_core operation.
53  */
57 
61 
65 
66 /* HTTP/1.1 response formatting filter. */
68 
69 /* HTTP/1.1 chunked transfer encoding filter. */
71 
72 /* Filter to handle any error buckets on output */
75 
76 char *ap_response_code_string(request_rec *r, int error_index);
77 
88 
97 
103 
104 /* Used for multipart/byteranges boundary string */
105 AP_DECLARE_DATA extern const char *ap_multipart_boundary;
106 
107 /* Init RNG at startup */
109 /* Update RNG state in parent after fork */
111 
119 
120 #ifdef __cplusplus
121 }
122 #endif
123 
124 #endif /* !MOD_CORE_H */
APR Platform Definitions.
APR-UTIL Buckets/Bucket Brigades.
apr_read_type_e
Definition: apr_buckets.h:62
AP_DECLARE_DATA ap_filter_rec_t * ap_http_outerror_filter_handle
apr_status_t ap_http_chunk_filter(ap_filter_t *f, apr_bucket_brigade *b)
apr_status_t ap_h1_request_in_filter(ap_filter_t *f, apr_bucket_brigade *bb, ap_input_mode_t mode, apr_read_type_e block, apr_off_t readbytes)
AP_DECLARE_DATA ap_filter_rec_t * ap_chunk_filter_handle
int ap_send_http_trace(request_rec *r)
apr_status_t ap_h1_body_in_filter(ap_filter_t *f, apr_bucket_brigade *b, ap_input_mode_t mode, apr_read_type_e block, apr_off_t readbytes)
AP_DECLARE_DATA ap_filter_rec_t * ap_byterange_filter_handle
void ap_init_rng(apr_pool_t *p)
AP_DECLARE_DATA ap_filter_rec_t * ap_http_header_filter_handle
apr_status_t ap_h1_response_out_filter(ap_filter_t *f, apr_bucket_brigade *b)
AP_DECLARE_DATA const char * ap_multipart_boundary
char * ap_response_code_string(request_rec *r, int error_index)
int ap_send_http_options(request_rec *r)
AP_DECLARE_DATA ap_filter_rec_t * ap_h1_request_in_filter_handle
int ap_h1_set_keepalive(request_rec *r, ap_bucket_response *resp)
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)
AP_DECLARE_DATA ap_filter_rec_t * ap_http_input_filter_handle
void ap_random_parent_after_fork(void)
apr_status_t ap_http_outerror_filter(ap_filter_t *f, apr_bucket_brigade *b)
AP_DECLARE_DATA ap_filter_rec_t * ap_h1_body_in_filter_handle
apr_bucket_brigade ap_input_mode_t apr_read_type_e apr_off_t readbytes
Definition: mod_dav.h:2664
request_rec * r
Definition: mod_dav.h:518
apr_bucket_brigade * bb
Definition: mod_dav.h:555
apr_bucket_brigade ap_input_mode_t mode
Definition: mod_dav.h:2662
apr_bucket_brigade ap_input_mode_t apr_read_type_e block
Definition: mod_dav.h:2663
int apr_status_t
Definition: apr_errno.h:44
off_t apr_off_t
Definition: apr.h:396
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
HTTP protocol handling.
HTTP Daemon routines.
#define AP_DECLARE_DATA
Definition: macros.h:15
#define AP_DECLARE(x)
Definition: macros.h:1
#define AP_CORE_DECLARE(x)
Definition: macros.h:3
#define AP_DECLARE_NONSTD(x)
Definition: macros.h:2
A bucket referring to a HTTP response.
Definition: http_protocol.h:1199
This structure is used for recording information about the registered filters. It associates a name w...
Definition: util_filter.h:226
The representation of a filter chain.
Definition: util_filter.h:278
Definition: apr_buckets.h:263
A structure that represents the current request.
Definition: httpd.h:856
apr_pool_t * p
Apache filter library.
ap_input_mode_t
input filtering modes
Definition: util_filter.h:41