Apache HTTPD
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
50
51struct apr_hash_t;
52struct h2_priority;
53struct h2_push_res;
54
55typedef struct h2_push_res {
56 const char *uri_ref;
59
60
61void *h2_config_create_dir(apr_pool_t *pool, char *x);
62void *h2_config_merge_dir(apr_pool_t *pool, void *basev, void *addv);
64void *h2_config_merge_svr(apr_pool_t *pool, void *basev, void *addv);
65
66extern const command_rec h2_cmds[];
67
70
76
82
90
93
94
98
99const 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
apr_size_t size
const char int apr_pool_t * pool
Definition apr_cstr.h:84
apr_vformatter_buff_t * c
Definition apr_lib.h:175
const char * s
Definition apr_strings.h:95
apr_int64_t apr_time_t
Definition apr_time.h:45
apr_array_header_t * h2_config_push_list(request_rec *r)
Definition h2_config.c:537
apr_int64_t h2_config_sgeti64(server_rec *s, h2_config_var_t var)
Definition h2_config.c:511
apr_int64_t h2_config_cgeti64(conn_rec *c, h2_config_var_t var)
Definition h2_config.c:501
void * h2_config_create_dir(apr_pool_t *pool, char *x)
Definition h2_config.c:229
void * h2_config_create_svr(apr_pool_t *pool, server_rec *s)
Definition h2_config.c:139
const command_rec h2_cmds[]
Definition h2_config.c:1027
const struct h2_priority * h2_cconfig_get_priority(conn_rec *c, const char *content_type)
Definition h2_config.c:561
int h2_config_rgeti(request_rec *r, h2_config_var_t var)
Definition h2_config.c:527
void * h2_config_merge_svr(apr_pool_t *pool, void *basev, void *addv)
Definition h2_config.c:224
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)
Definition h2_config.c:516
void h2_get_workers_config(server_rec *s, int *pminw, int *pmaxw, apr_time_t *pidle_limit)
Definition h2_config.c:1007
void * h2_config_merge_dir(apr_pool_t *pool, void *basev, void *addv)
Definition h2_config.c:243
apr_table_t * h2_config_early_headers(request_rec *r)
Definition h2_config.c:549
apr_int64_t h2_config_geti64(request_rec *r, server_rec *s, h2_config_var_t var)
Definition h2_config.c:521
void h2_config_init(apr_pool_t *pool)
Definition h2_config.c:134
apr_int64_t h2_config_rgeti64(request_rec *r, h2_config_var_t var)
Definition h2_config.c:532
int h2_config_cgeti(conn_rec *c, h2_config_var_t var)
Definition h2_config.c:496
int h2_config_sgeti(server_rec *s, h2_config_var_t var)
Definition h2_config.c:506
Structure to store things which are per connection.
Definition httpd.h:1152
const char * uri_ref
Definition h2_config.h:56
A structure that represents the current request.
Definition httpd.h:845
A structure to store information for each virtual server.
Definition httpd.h:1322
#define var