mirror of
https://github.com/deneraraujo/OpenVPNAdapter.git
synced 2026-02-22 00:00:06 +08:00
daf575ff50 Merge remote-tracking branch 'origin/qa' e3a2425be4 [UCONNECT-1027] remotelist: create standalone object for resolve thread e487b75860 async-resolve: use native GCD implementation on iOS 346ed043fa Merge remote-tracking branch 'origin/qa' 3f55dcd266 remotelist: add missing includes 073b3993f4 Fix commit 8b22a7b2 (mbed TLS compatibility) 8b22a7b209 Fix compatibility with mbed TLS < 2.7.0 git-subtree-dir: Sources/OpenVPNAdapter/Libraries/Vendors/openvpn git-subtree-split: daf575ff5099eebb10109e52be94253507fd253b
38 lines
1.4 KiB
C++
38 lines
1.4 KiB
C++
// OpenVPN -- An application to securely tunnel IP networks
|
|
// over a single port, with support for SSL/TLS-based
|
|
// session authentication and key exchange,
|
|
// packet encryption, packet authentication, and
|
|
// packet compression.
|
|
//
|
|
// Copyright (C) 2012-2019 OpenVPN Inc.
|
|
//
|
|
// This program is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU Affero General Public License Version 3
|
|
// as published by the Free Software Foundation.
|
|
//
|
|
// This program is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU Affero General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU Affero General Public License
|
|
// along with this program in the COPYING file.
|
|
// If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
#ifndef OPENVPN_CLIENT_ASYNC_RESOLVE_H
|
|
#define OPENVPN_CLIENT_ASYNC_RESOLVE_H
|
|
|
|
#ifdef USE_ASIO
|
|
#include <openvpn/client/async_resolve/asio.hpp>
|
|
#else
|
|
#include <openvpn/client/async_resolve/generic.hpp>
|
|
#endif
|
|
|
|
// create shortcuts for common templated classes
|
|
namespace openvpn {
|
|
typedef AsyncResolvable<openvpn_io::ip::udp::resolver> AsyncResolvableUDP;
|
|
typedef AsyncResolvable<openvpn_io::ip::tcp::resolver> AsyncResolvableTCP;
|
|
}
|
|
|
|
#endif /* OPENVPN_CLIENT_ASYNC_RESOLVE_H */
|