aboutsummaryrefslogtreecommitdiff
path: root/src/net/parse.h
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-08-14 15:21:47 -0500
committerluigi1111 <luigi1111w@gmail.com>2019-08-14 15:21:47 -0500
commite37e263fcdfa71790e9375fb9f885dca5bd1d470 (patch)
tree81d634746b0683330cb9beb08053a1b3a73ca160 /src/net/parse.h
parentMerge pull request #5779 (diff)
parentAdd IPv6 support (diff)
downloadmonero-e37e263fcdfa71790e9375fb9f885dca5bd1d470.tar.xz
Merge pull request #4851
155475d Add IPv6 support (KeeJef/tewinget)
Diffstat (limited to 'src/net/parse.h')
-rw-r--r--src/net/parse.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/parse.h b/src/net/parse.h
index 9f0d66ea6..0d8fda711 100644
--- a/src/net/parse.h
+++ b/src/net/parse.h
@@ -36,6 +36,8 @@
namespace net
{
+ void get_network_address_host_and_port(const std::string& address, std::string& host, std::string& port);
+
/*!
Identifies onion, i2p and IPv4 addresses and returns them as a generic
`network_address`. If the type is unsupported, it might be a hostname,