Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
h2_config.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_config_h__
18 #define __mod_h2__h2_config_h__
19 
20 #undef PACKAGE_VERSION
21 #undef PACKAGE_TARNAME
22 #undef PACKAGE_STRING
23 #undef PACKAGE_NAME
24 #undef PACKAGE_BUGREPORT
25 
26 typedef enum {
48 
49 struct apr_hash_t;
50 struct h2_priority;
51 struct h2_push_res;
52 
53 typedef struct h2_push_res {
54  const char *uri_ref;
55  int critical;
56 } h2_push_res;
57 
58 
59 void *h2_config_create_dir(apr_pool_t *pool, char *x);
60 void *h2_config_merge_dir(apr_pool_t *pool, void *basev, void *addv);
62 void *h2_config_merge_svr(apr_pool_t *pool, void *basev, void *addv);
63 
64 extern const command_rec h2_cmds[];
65 
68 
74 
80 
88 
91 
92 
93 void h2_get_num_workers(server_rec *s, int *minw, int *maxw);
95 
96 const struct h2_priority *h2_cconfig_get_priority(conn_rec *c, const char *content_type);
97 
98 #endif /* __mod_h2__h2_config_h__ */
99 
apr_array_header_t * h2_config_alt_svcs(request_rec *r)
const struct h2_priority * h2_cconfig_get_priority(conn_rec *c, const char *content_type)
void h2_config_init(apr_pool_t *pool)
Definition: h2_config.h:40
int h2_config_sgeti(server_rec *s, h2_config_var_t var)
Definition: h2_config.h:45
Definition: h2_config.h:44
void h2_get_num_workers(server_rec *s, int *minw, int *maxw)
Definition: apr_tables.h:62
int critical
Definition: h2_config.h:55
Definition: h2_config.h:42
void * h2_config_create_dir(apr_pool_t *pool, char *x)
apr_bucket_brigade request_rec apr_pool_t * pool
Definition: mod_dav.h:555
int64_t apr_int64_t
Definition: apr.h:385
Definition: h2_config.h:34
Definition: h2_config.h:38
Definition: h2.h:75
void * h2_config_merge_dir(apr_pool_t *pool, void *basev, void *addv)
Definition: h2_config.h:41
apr_int64_t h2_config_sgeti64(server_rec *s, h2_config_var_t var)
int h2_config_geti(request_rec *r, server_rec *s, h2_config_var_t var)
Definition: h2_config.h:35
Structure to store things which are per connection.
Definition: httpd.h:1183
apr_int64_t h2_config_rgeti64(request_rec *r, h2_config_var_t var)
const command_rec h2_cmds[]
void * h2_config_create_svr(apr_pool_t *pool, server_rec *s)
Definition: h2_config.h:29
int h2_config_cgeti(conn_rec *c, h2_config_var_t var)
apr_int64_t h2_config_cgeti64(conn_rec *c, h2_config_var_t var)
Definition: http_config.h:204
A structure to store information for each virtual server.
Definition: httpd.h:1370
Definition: h2_config.h:28
int h2_config_rgeti(request_rec *r, h2_config_var_t var)
Definition: h2_config.h:46
struct h2_push_res h2_push_res
Definition: h2_config.h:32
Definition: h2_config.h:37
apr_int64_t h2_config_geti64(request_rec *r, server_rec *s, h2_config_var_t var)
Definition: h2_config.h:31
struct apr_hash_t apr_hash_t
Definition: apr_hash.h:52
h2_config_var_t
Definition: h2_config.h:26
Definition: h2_config.h:36
Definition: h2_config.h:27
const char * uri_ref
Definition: h2_config.h:54
A structure that represents the current request.
Definition: httpd.h:860
apr_array_header_t * h2_config_push_list(request_rec *r)
Definition: h2_config.h:53
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
request_rec * r
Definition: mod_dav.h:518
void * h2_config_merge_svr(apr_pool_t *pool, void *basev, void *addv)
Definition: h2_config.h:30
Definition: h2_config.h:43
Definition: h2_config.h:33
Definition: h2_config.h:39