diff options
author | xiphon <xiphon@protonmail.com> | 2020-07-20 04:31:58 +0000 |
---|---|---|
committer | xiphon <xiphon@protonmail.com> | 2020-07-20 13:45:12 +0000 |
commit | 76c16822d09fbebbc792dc999ea2d3432a63253a (patch) | |
tree | e7b5e168f20c2f9a7b8a8e1e3dddd849e2f396f8 /src/net/parse.h | |
parent | Merge pull request #6586 (diff) | |
download | monero-76c16822d09fbebbc792dc999ea2d3432a63253a.tar.xz |
wallet2_api: implement runtime proxy configuration
Diffstat (limited to '')
-rw-r--r-- | src/net/parse.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/parse.h b/src/net/parse.h index 0d8fda711..4d5efe161 100644 --- a/src/net/parse.h +++ b/src/net/parse.h @@ -28,6 +28,7 @@ #pragma once +#include <boost/asio/ip/tcp.hpp> #include <boost/utility/string_ref.hpp> #include <cstdint> @@ -65,5 +66,7 @@ namespace net */ expect<epee::net_utils::ipv4_network_subnet> get_ipv4_subnet_address(boost::string_ref address, bool allow_implicit_32 = false); + + expect<boost::asio::ip::tcp::endpoint> get_tcp_endpoint(const boost::string_ref address); } |