Apache HTTPD
http_connection.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
26#ifndef APACHE_HTTP_CONNECTION_H
27#define APACHE_HTTP_CONNECTION_H
28
29#include "apr_network_io.h"
30#include "apr_buckets.h"
31
32#ifdef __cplusplus
33extern "C" {
34#endif
35
45
53
60
77
79
81
82/* Hooks */
100AP_DECLARE_HOOK(conn_rec *, create_connection,
102 long conn_id, void *sbh, apr_bucket_alloc_t *alloc))
103
104
114AP_DECLARE_HOOK(int,pre_connection,(conn_rec *c, void *csd))
115
116
124AP_DECLARE_HOOK(int,process_connection,(conn_rec *c))
125
126
136AP_DECLARE_HOOK(int,pre_close_connection,(conn_rec *c))
137
138
152
155
161#define AP_BUCKET_IS_EOC(e) (e->type == &ap_bucket_type_eoc)
162
169
177
178#ifdef __cplusplus
179}
180#endif
181
182#endif /* !APACHE_HTTP_CONNECTION_H */
#define AP_DECLARE_DATA
Definition ap_config.h:89
#define AP_DECLARE_HOOK(ret, name, args)
Definition ap_hooks.h:74
APR-UTIL Buckets/Bucket Brigades.
APR Network library.
int ap_start_lingering_close(conn_rec *c)
Definition connection.c:121
int ap_prep_lingering_close(conn_rec *c)
Definition connection.c:98
apr_status_t ap_shutdown_conn(conn_rec *c, int flush)
Definition connection.c:70
void ap_process_connection(conn_rec *c, void *csd)
Definition connection.c:210
void ap_lingering_close(conn_rec *c)
Definition connection.c:149
void ap_flush_conn(conn_rec *c)
Definition connection.c:93
int ap_pre_connection(conn_rec *c, void *csd)
Definition core.c:5353
apr_bucket * ap_bucket_eoc_create(apr_bucket_alloc_t *list)
Definition eoc_bucket.c:38
apr_bucket * ap_bucket_eoc_make(apr_bucket *b)
Definition eoc_bucket.c:28
AP_DECLARE(void) ap_lingering_close(conn_rec *c)
void * csd
AP_CORE_DECLARE(void) ap_process_connection(conn_rec *c
AP_DECLARE_DATA const apr_bucket_type_t ap_bucket_type_eoc
Definition eoc_bucket.c:48
int flush
apr_memcache_server_t * server
const apr_array_header_t * list
Definition apr_cstr.h:105
int apr_status_t
Definition apr_errno.h:44
apr_vformatter_buff_t * c
Definition apr_lib.h:175
apr_pool_t * b
Definition apr_pools.h:529
apr_pool_t * p
Definition md_event.c:32
Structure to store things which are per connection.
Definition httpd.h:1152
A structure to store information for each virtual server.
Definition httpd.h:1322