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 /* 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_h2__
17 #define __mod_h2__h2_h2__
18 
23 extern const char *h2_clear_protos[];
24 
29 extern const char *h2_tls_protos[];
30 
36 const char *h2_h2_err_description(unsigned int h2_error);
37 
38 /*
39  * One time, post config initialization.
40  */
42 
43 /* Is the connection a TLS connection?
44  */
45 int h2_h2_is_tls(conn_rec *c);
46 
47 /* Register apache hooks for h2 protocol
48  */
49 void h2_h2_register_hooks(void);
50 
59 int h2_is_acceptable_connection(conn_rec *c, int require_all);
60 
68 
76 
77 
78 #endif /* defined(__mod_h2__h2_h2__) */
apr_bucket_brigade request_rec apr_pool_t * pool
Definition: mod_dav.h:556
int h2_is_acceptable_connection(conn_rec *c, int require_all)
Structure to store things which are per connection.
Definition: httpd.h:1110
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:1302
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:55
void h2_h2_register_hooks(void)