Apache2
h2_c2.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 #ifndef __mod_h2__h2_c2__
18 #define __mod_h2__h2_c2__
19 
20 #include <http_core.h>
21 
22 #include "h2.h"
23 
24 const char *h2_conn_mpm_name(void);
25 int h2_mpm_supported(void);
26 
27 /* Initialize this child process for h2 secondary connection work,
28  * to be called once during child init before multi processing
29  * starts.
30  */
32 
33 #if !AP_HAS_RESPONSE_BUCKETS
34 
36  apr_bucket_alloc_t *buckt_alloc);
37 
41 apr_status_t h2_c2_process(conn_rec *c, apr_thread_t *thread, int worker_id);
42 
43 #endif /* !AP_HAS_RESPONSE_BUCKETS */
44 
46 
53 void h2_c2_abort(conn_rec *c2, conn_rec *from);
54 
56 
57 #endif /* defined(__mod_h2__h2_c2__) */
struct apr_bucket_alloc_t apr_bucket_alloc_t
Definition: apr_buckets.h:128
const char * s
Definition: mod_dav.h:1327
apr_bucket_brigade request_rec apr_pool_t * pool
Definition: mod_dav.h:557
int apr_status_t
Definition: apr_errno.h:44
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
void h2_c2_abort(conn_rec *c2, conn_rec *from)
void h2_c2_register_hooks(void)
void h2_c2_destroy(conn_rec *c2)
int h2_mpm_supported(void)
apr_status_t h2_c2_process(conn_rec *c, apr_thread_t *thread, int worker_id)
apr_status_t h2_c2_child_init(apr_pool_t *pool, server_rec *s)
const char * h2_conn_mpm_name(void)
conn_rec * h2_c2_create(conn_rec *c1, apr_pool_t *parent, apr_bucket_alloc_t *buckt_alloc)
CORE HTTP Daemon.
Definition: apr_arch_threadproc.h:42
Structure to store things which are per connection.
Definition: httpd.h:1193
A structure to store information for each virtual server.
Definition: httpd.h:1382