source: mod_gnutls/src/gnutls_proxy.h @ 0378c22

debian/master
Last change on this file since 0378c22 was 0378c22, checked in by Fiona Klute <fiona.klute@…>, 11 months ago

Move mod_proxy note name definitions to gnutls_proxy.h

  • Property mode set to 100644
File size: 1.3 KB
Line 
1/*
2 *  Copyright 2015-2018 Fiona Klute
3 *
4 *  Licensed under the Apache License, Version 2.0 (the "License");
5 *  you may not use this file except in compliance with the License.
6 *  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_GNUTLS_PROXY_H__
18#define __MOD_GNUTLS_PROXY_H__
19
20#include <apr_errno.h>
21#include <apr_pools.h>
22#include <httpd.h>
23
24/** proxy modules may add a note with this key to the
25 * connection->notes table for client connections to indicate the
26 * server hostname */
27#define PROXY_SNI_NOTE "proxy-request-hostname"
28
29/** proxy modules may add a note with this key to the connection->notes
30 * table for client connections to indicate supported protocols */
31#define PROXY_ALPN_NOTE "proxy-request-alpn-protos"
32
33apr_status_t load_proxy_x509_credentials(apr_pool_t *pconf,
34                                         apr_pool_t *ptemp,
35                                         server_rec *s)
36    __attribute__((nonnull));
37
38#endif /* __MOD_GNUTLS_PROXY_H__ */
Note: See TracBrowser for help on using the repository browser.