Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
h2_h2.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_h2__
18 #define __mod_h2__h2_h2__
19 
24 extern const char *h2_clear_protos[];
25 
30 extern const char *h2_tls_protos[];
31 
37 const char *h2_h2_err_description(unsigned int h2_error);
38 
39 /*
40  * One time, post config initialization.
41  */
43 
44 /* Is the connection a TLS connection?
45  */
46 int h2_h2_is_tls(conn_rec *c);
47 
48 /* Register apache hooks for h2 protocol
49  */
50 void h2_h2_register_hooks(void);
51 
60 int h2_is_acceptable_connection(conn_rec *c, int require_all);
61 
69 
77 
78 
79 #endif /* defined(__mod_h2__h2_h2__) */
apr_bucket_brigade request_rec apr_pool_t * pool
Definition: mod_dav.h:552
int h2_is_acceptable_connection(conn_rec *c, int require_all)
Structure to store things which are per connection.
Definition: httpd.h:1124
int h2_allows_h2_direct(conn_rec *c)
const char * h2_h2_err_description(unsigned int h2_error)
int h2_h2_is_tls(conn_rec *c)
A structure to store information for each virtual server.
Definition: httpd.h:1311
const char * h2_tls_protos[]
int h2_allows_h2_upgrade(conn_rec *c)
apr_status_t h2_h2_init(apr_pool_t *pool, server_rec *s)
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
int apr_status_t
Definition: apr_errno.h:44
const char * h2_clear_protos[]
conn_rec * c
Definition: h2_task.h:56
void h2_h2_register_hooks(void)