Apache2
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 {
50 
51 struct apr_hash_t;
52 struct h2_priority;
53 struct h2_push_res;
54 
55 typedef struct h2_push_res {
56  const char *uri_ref;
57  int critical;
59 
60 
62 void *h2_config_merge_dir(apr_pool_t *pool, void *basev, void *addv);
64 void *h2_config_merge_svr(apr_pool_t *pool, void *basev, void *addv);
65 
66 extern const command_rec h2_cmds[];
67 
70 
76 
82 
90 
93 
94 
95 void h2_get_workers_config(server_rec *s, int *pminw, int *pmaxw,
96  apr_time_t *pidle_limit);
98 
99 const struct h2_priority *h2_cconfig_get_priority(conn_rec *c, const char *content_type);
100 
101 #endif /* __mod_h2__h2_config_h__ */
102 
request_rec * r
Definition: mod_dav.h:518
const char * s
Definition: mod_dav.h:1327
apr_bucket_brigade request_rec apr_pool_t * pool
Definition: mod_dav.h:557
struct apr_hash_t apr_hash_t
Definition: apr_hash.h:52
int64_t apr_int64_t
Definition: apr.h:386
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
struct apr_table_t apr_table_t
Definition: apr_tables.h:56
apr_int64_t apr_time_t
Definition: apr_time.h:45
void * h2_config_merge_svr(apr_pool_t *pool, void *basev, void *addv)
apr_int64_t h2_config_sgeti64(server_rec *s, h2_config_var_t var)
void * h2_config_merge_dir(apr_pool_t *pool, void *basev, void *addv)
apr_array_header_t * h2_config_push_list(request_rec *r)
apr_int64_t h2_config_cgeti64(conn_rec *c, h2_config_var_t var)
void * h2_config_create_dir(apr_pool_t *pool, char *x)
const command_rec h2_cmds[]
struct h2_push_res h2_push_res
int h2_config_rgeti(request_rec *r, h2_config_var_t var)
void * h2_config_create_svr(apr_pool_t *pool, server_rec *s)
h2_config_var_t
Definition: h2_config.h:26
@ H2_CONF_PADDING_ALWAYS
Definition: h2_config.h:43
@ H2_CONF_OUTPUT_BUFFER
Definition: h2_config.h:44
@ H2_CONF_MAX_WORKER_IDLE_LIMIT
Definition: h2_config.h:31
@ H2_CONF_MAX_WORKERS
Definition: h2_config.h:30
@ H2_CONF_MODERN_TLS_ONLY
Definition: h2_config.h:34
@ H2_CONF_PROXY_REQUESTS
Definition: h2_config.h:47
@ H2_CONF_UPGRADE
Definition: h2_config.h:35
@ H2_CONF_EARLY_HINTS
Definition: h2_config.h:41
@ H2_CONF_PUSH
Definition: h2_config.h:38
@ H2_CONF_MIN_WORKERS
Definition: h2_config.h:29
@ H2_CONF_STREAM_TIMEOUT
Definition: h2_config.h:45
@ H2_CONF_MAX_DATA_FRAME_LEN
Definition: h2_config.h:46
@ H2_CONF_TLS_WARMUP_SIZE
Definition: h2_config.h:36
@ H2_CONF_WEBSOCKETS
Definition: h2_config.h:48
@ H2_CONF_WIN_SIZE
Definition: h2_config.h:28
@ H2_CONF_TLS_COOLDOWN_SECS
Definition: h2_config.h:37
@ H2_CONF_COPY_FILES
Definition: h2_config.h:40
@ H2_CONF_STREAM_MAX_MEM
Definition: h2_config.h:32
@ H2_CONF_MAX_STREAMS
Definition: h2_config.h:27
@ H2_CONF_PUSH_DIARY_SIZE
Definition: h2_config.h:39
@ H2_CONF_PADDING_BITS
Definition: h2_config.h:42
@ H2_CONF_DIRECT
Definition: h2_config.h:33
int h2_config_geti(request_rec *r, server_rec *s, h2_config_var_t var)
void h2_get_workers_config(server_rec *s, int *pminw, int *pmaxw, apr_time_t *pidle_limit)
apr_int64_t h2_config_geti64(request_rec *r, server_rec *s, h2_config_var_t var)
const struct h2_priority * h2_cconfig_get_priority(conn_rec *c, const char *content_type)
void h2_config_init(apr_pool_t *pool)
apr_int64_t h2_config_rgeti64(request_rec *r, h2_config_var_t var)
int h2_config_cgeti(conn_rec *c, h2_config_var_t var)
int h2_config_sgeti(server_rec *s, h2_config_var_t var)
apr_table_t * h2_config_early_headers(request_rec *r)
Definition: apr_tables.h:62
Definition: http_config.h:204
Structure to store things which are per connection.
Definition: httpd.h:1193
Definition: h2.h:109
Definition: h2_config.h:55
int critical
Definition: h2_config.h:57
const char * uri_ref
Definition: h2_config.h:56
A structure that represents the current request.
Definition: httpd.h:856
A structure to store information for each virtual server.
Definition: httpd.h:1382