Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
h2_alt_svc.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_alt_svc__
18 #define __mod_h2__h2_alt_svc__
19 
20 typedef struct h2_alt_svc h2_alt_svc;
21 
22 struct h2_alt_svc {
23  const char *alpn;
24  const char *host;
25  int port;
26 };
27 
28 void h2_alt_svc_register_hooks(void);
29 
37 h2_alt_svc *h2_alt_svc_parse(const char *s, apr_pool_t *pool);
38 
39 
40 #endif /* defined(__mod_h2__h2_alt_svc__) */
apr_bucket_brigade request_rec apr_pool_t * pool
Definition: mod_dav.h:552
Definition: h2_alt_svc.h:22
const char * host
Definition: h2_alt_svc.h:24
int port
Definition: h2_alt_svc.h:25
h2_alt_svc * h2_alt_svc_parse(const char *s, apr_pool_t *pool)
const char * alpn
Definition: h2_alt_svc.h:23
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
void h2_alt_svc_register_hooks(void)