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 /* Copyright 2015 greenbytes GmbH (https://www.greenbytes.de)
2  *
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8 
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #ifndef __mod_h2__h2_conn__
17 #define __mod_h2__h2_conn__
18 
19 struct h2_ctx;
20 struct h2_task;
21 
30 
40 
46 
47 /* Initialize this child process for h2 connection work,
48  * to be called once during child init before multi processing
49  * starts.
50  */
52 
53 
54 typedef enum {
64 
65 /* Returns the type of MPM module detected */
67 
68 
69 conn_rec *h2_slave_create(conn_rec *master, int slave_id, apr_pool_t *parent);
70 void h2_slave_destroy(conn_rec *slave);
71 
74 
75 #endif /* defined(__mod_h2__h2_conn__) */
Definition: h2_conn.h:56
apr_status_t h2_conn_setup(struct h2_ctx *ctx, conn_rec *c, request_rec *r)
Definition: h2_task.h:52
conn_rec * h2_slave_create(conn_rec *master, int slave_id, apr_pool_t *parent)
Definition: h2_conn.h:60
Definition: h2_conn.h:61
apr_bucket_brigade request_rec apr_pool_t * pool
Definition: mod_dav.h:556
Definition: h2_conn.h:62
void h2_slave_run_connection(conn_rec *slave)
Definition: h2_conn.h:57
h2_mpm_type_t h2_conn_mpm_type(void)
Definition: h2_conn.h:55
Structure to store things which are per connection.
Definition: httpd.h:1110
apr_status_t h2_conn_child_init(apr_pool_t *pool, server_rec *s)
h2_mpm_type_t
Definition: h2_conn.h:54
Definition: h2_ctx.h:31
A structure to store information for each virtual server.
Definition: httpd.h:1302
Definition: apr_arch_networkio.h:37
Definition: h2_conn.h:58
A structure that represents the current request.
Definition: httpd.h:805
Definition: h2_conn.h:59
apr_status_t h2_slave_run_pre_connection(conn_rec *slave, apr_socket_t *csd)
void h2_slave_destroy(conn_rec *slave)
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:519
conn_rec * c
Definition: h2_task.h:55
apr_status_t h2_conn_pre_close(struct h2_ctx *ctx, conn_rec *c)