OpenVPN 3 Core Library
Loading...
Searching...
No Matches
fw.hpp
Go to the documentation of this file.
1
// OpenVPN -- An application to securely tunnel IP networks
2
// over a single port, with support for SSL/TLS-based
3
// session authentication and key exchange,
4
// packet encryption, packet authentication, and
5
// packet compression.
6
//
7
// Copyright (C) 2012- OpenVPN Inc.
8
//
9
// SPDX-License-Identifier: MPL-2.0 OR AGPL-3.0-only WITH openvpn3-openssl-exception
10
//
11
12
#ifndef OPENVPN_TRANSPORT_CLIENT_EXTERN_FW_H
13
#define OPENVPN_TRANSPORT_CLIENT_EXTERN_FW_H
14
15
#ifdef OPENVPN_EXTERNAL_TRANSPORT_FACTORY
16
#include <
openvpn/transport/client/transbase.hpp
>
17
#endif
18
19
namespace
openvpn::ExternalTransport
{
20
#ifdef OPENVPN_EXTERNAL_TRANSPORT_FACTORY
21
struct
Config
;
22
struct
Factory
23
{
24
virtual
TransportClientFactory *new_transport_factory(
const
Config
&conf) = 0;
25
virtual
~Factory() =
default
;
26
};
27
#else
28
struct
Factory
29
{
30
};
31
#endif
32
}
// namespace openvpn::ExternalTransport
33
#endif
Config
The data needed to construct an OpenSSLContext.
transbase.hpp
openvpn::ExternalTransport
Definition
config.hpp:20
openvpn::ExternalTransport::Factory
Definition
fw.hpp:29
openvpn
transport
client
extern
fw.hpp
Generated by
1.9.8