Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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
38 extern "C" {
39 #endif
40 
41 /* Handles for core filters */
47 
48 /*
49  * These (input) filters are internal to the mod_core operation.
50  */
52  ap_input_mode_t mode, apr_read_type_e block,
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 
62 char *ap_response_code_string(request_rec *r, int error_index);
63 
74 
83 
89 
90 /* Used for multipart/byteranges boundary string */
91 AP_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 */
103 
AP_DECLARE_DATA ap_filter_rec_t * ap_http_input_filter_handle
This structure is used for recording information about the registered filters. It associates a name w...
Definition: util_filter.h:226
AP_DECLARE_DATA ap_filter_rec_t * ap_http_outerror_filter_handle
ap_input_mode_t
input filtering modes
Definition: util_filter.h:41
#define AP_CORE_DECLARE(x)
Definition: macros.h:3
apr_status_t ap_http_outerror_filter(ap_filter_t *f, apr_bucket_brigade *b)
The representation of a filter chain.
Definition: util_filter.h:273
#define AP_DECLARE(x)
Definition: macros.h:1
void ap_basic_http_header(request_rec *r, apr_bucket_brigade *bb)
#define AP_DECLARE_NONSTD(x)
Definition: macros.h:2
void ap_random_parent_after_fork(void)
AP_DECLARE_DATA ap_filter_rec_t * ap_http_header_filter_handle
int ap_send_http_trace(request_rec *r)
Definition: apr_buckets.h:258
AP_DECLARE_DATA ap_filter_rec_t * ap_byterange_filter_handle
int ap_send_http_options(request_rec *r)
apr_bucket_brigade * bb
Definition: mod_dav.h:556
AP_DECLARE_DATA const char * ap_multipart_boundary
HTTP Daemon routines.
apr_status_t ap_http_chunk_filter(ap_filter_t *f, apr_bucket_brigade *b)
APR-UTIL Buckets/Bucket Brigades.
APR Platform Definitions.
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)
AP_DECLARE_DATA ap_filter_rec_t * ap_chunk_filter_handle
apr_pool_t * p
apr_read_type_e
Definition: apr_buckets.h:57
A structure that represents the current request.
Definition: httpd.h:805
Apache filter library.
#define AP_DECLARE_DATA
Definition: macros.h:15
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
char * ap_response_code_string(request_rec *r, int error_index)
void ap_init_rng(apr_pool_t *p)
int apr_status_t
Definition: apr_errno.h:44
request_rec * r
Definition: mod_dav.h:519
off_t apr_off_t
Definition: apr.h:377