Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
h2_conn.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_conn__
18 #define __mod_h2__h2_conn__
19 
20 struct h2_ctx;
21 struct h2_task;
22 
31 
41 
47 
48 /* Initialize this child process for h2 connection work,
49  * to be called once during child init before multi processing
50  * starts.
51  */
53 
54 
55 typedef enum {
65 
66 /* Returns the type of MPM module detected */
68 const char *h2_conn_mpm_name(void);
69 int h2_mpm_supported(void);
70 
71 conn_rec *h2_slave_create(conn_rec *master, int slave_id, apr_pool_t *parent);
72 void h2_slave_destroy(conn_rec *slave);
73 
76 
77 #endif /* defined(__mod_h2__h2_conn__) */
Definition: h2_conn.h:57
apr_status_t h2_conn_setup(struct h2_ctx *ctx, conn_rec *c, request_rec *r)
Definition: h2_task.h:53
conn_rec * h2_slave_create(conn_rec *master, int slave_id, apr_pool_t *parent)
Definition: h2_conn.h:61
Definition: h2_conn.h:62
apr_bucket_brigade request_rec apr_pool_t * pool
Definition: mod_dav.h:552
Definition: h2_conn.h:63
void h2_slave_run_connection(conn_rec *slave)
Definition: h2_conn.h:58
h2_mpm_type_t h2_conn_mpm_type(void)
Definition: h2_conn.h:56
Structure to store things which are per connection.
Definition: httpd.h:1116
apr_status_t h2_conn_child_init(apr_pool_t *pool, server_rec *s)
h2_mpm_type_t
Definition: h2_conn.h:55
Definition: h2_ctx.h:32
A structure to store information for each virtual server.
Definition: httpd.h:1307
Definition: apr_arch_networkio.h:37
int h2_mpm_supported(void)
Definition: h2_conn.h:59
A structure that represents the current request.
Definition: httpd.h:806
Definition: h2_conn.h:60
apr_status_t h2_slave_run_pre_connection(conn_rec *slave, apr_socket_t *csd)
void h2_slave_destroy(conn_rec *slave)
const char * h2_conn_mpm_name(void)
apr_status_t h2_conn_run(struct h2_ctx *ctx, conn_rec *c)
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
int apr_status_t
Definition: apr_errno.h:44
request_rec * r
Definition: mod_dav.h:515
conn_rec * c
Definition: h2_task.h:56
apr_status_t h2_conn_pre_close(struct h2_ctx *ctx, conn_rec *c)