Apache HTTPD
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
24const char *h2_conn_mpm_name(void);
25int 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
37
42
43#endif /* !AP_HAS_RESPONSE_BUCKETS */
44
45void h2_c2_destroy(conn_rec *c2);
46
53void h2_c2_abort(conn_rec *c2, conn_rec *from);
54
55void h2_c2_register_hooks(void);
56
57#endif /* defined(__mod_h2__h2_c2__) */
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
apr_pool_t * parent
Definition apr_pools.h:197
const char * s
Definition apr_strings.h:95
void h2_c2_abort(conn_rec *c2, conn_rec *from)
Definition h2_c2.c:157
conn_rec * h2_c2_create(conn_rec *c1, apr_pool_t *parent, apr_bucket_alloc_t *buckt_alloc)
Definition h2_c2.c:808
void h2_c2_register_hooks(void)
Definition h2_c2.c:917
void h2_c2_destroy(conn_rec *c2)
Definition h2_c2.c:145
int h2_mpm_supported(void)
Definition h2_c2.c:125
apr_status_t h2_c2_process(conn_rec *c, apr_thread_t *thread, int worker_id)
Definition h2_c2.c:660
apr_status_t h2_c2_child_init(apr_pool_t *pool, server_rec *s)
Definition h2_c2.c:131
const char * h2_conn_mpm_name(void)
Definition h2_c2.c:119
CORE HTTP Daemon.
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