Apache HTTPD
h2_c1.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_c1__
18#define __mod_h2__h2_c1__
19
20#include <http_core.h>
21
22struct h2_conn_ctx_t;
23
26
27/* Initialize this child process for h2 primary connection work,
28 * to be called once during child init before multi processing
29 * starts.
30 */
32
41
51
57
65
73
74/* Register hooks for h2 handling on primary connections.
75 */
76void h2_c1_register_hooks(void);
77
82
83#endif /* defined(__mod_h2__h2_c1__) */
request_rec * r
apr_brigade_flush void * ctx
#define APR_OPTIONAL_FN_TYPE(name)
apr_size_t size
const char int apr_pool_t * pool
Definition apr_cstr.h:84
int apr_status_t
Definition apr_errno.h:44
apr_vformatter_buff_t * c
Definition apr_lib.h:175
const char * s
Definition apr_strings.h:95
apr_status_t h2_c1_pre_close(struct h2_conn_ctx_t *ctx, conn_rec *c)
Definition h2_c1.c:175
apr_status_t h2_c1_run(conn_rec *c)
Definition h2_c1.c:116
apr_status_t h2_c1_setup(conn_rec *c, request_rec *r, server_rec *s)
Definition h2_c1.c:87
void h2_c1_child_stopping(apr_pool_t *pool, int graceful)
Definition h2_c1.c:79
apr_OFN_ap_logio_add_bytes_in_t * h2_c_logio_add_bytes_in
Definition h2_c1.c:52
void h2_c1_register_hooks(void)
Definition h2_c1.c:308
int h2_c1_allows_direct(conn_rec *c)
Definition h2_c1.c:186
apr_status_t h2_c1_child_init(apr_pool_t *pool, server_rec *s)
Definition h2_c1.c:55
apr_OFN_ap_logio_add_bytes_out_t * h2_c_logio_add_bytes_out
Definition h2_c1.c:53
int h2_c1_can_upgrade(request_rec *r)
Definition h2_c1.c:201
CORE HTTP Daemon.
static void ap_logio_add_bytes_in(conn_rec *c, apr_off_t bytes)
Definition mod_logio.c:77
static void ap_logio_add_bytes_out(conn_rec *c, apr_off_t bytes)
Definition mod_logio.c:67
Structure to store things which are per connection.
Definition httpd.h:1152
A structure that represents the current request.
Definition httpd.h:845
A structure to store information for each virtual server.
Definition httpd.h:1322