OpenVPN 3 Core Library
Loading...
Searching...
No Matches
async_resolve.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_CLIENT_ASYNC_RESOLVE_H
13
#define OPENVPN_CLIENT_ASYNC_RESOLVE_H
14
15
#ifdef USE_ASIO
16
#include <
openvpn/client/async_resolve/asio.hpp
>
17
#else
18
#include <
openvpn/client/async_resolve/generic.hpp
>
19
#endif
20
21
// create shortcuts for common templated classes
22
namespace
openvpn
{
23
typedef
AsyncResolvable<openvpn_io::ip::udp::resolver>
AsyncResolvableUDP
;
24
typedef
AsyncResolvable<openvpn_io::ip::tcp::resolver>
AsyncResolvableTCP
;
25
}
// namespace openvpn
26
27
#endif
/* OPENVPN_CLIENT_ASYNC_RESOLVE_H */
asio.hpp
openvpn::AsyncResolvable
Definition
asio.hpp:26
generic.hpp
openvpn
Support deferred server-side state creation when client connects.
Definition
ovpncli.cpp:95
openvpn::AsyncResolvableUDP
AsyncResolvable< openvpn_io::ip::udp::resolver > AsyncResolvableUDP
Definition
async_resolve.hpp:23
openvpn::AsyncResolvableTCP
AsyncResolvable< openvpn_io::ip::tcp::resolver > AsyncResolvableTCP
Definition
async_resolve.hpp:24
openvpn
client
async_resolve.hpp
Generated by
1.9.8