aboutsummaryrefslogtreecommitdiff
path: root/src/common/dns_utils.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-09-30 09:07:43 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-10-10 12:29:05 +0100
commita4b4651cb09b62de3540749b4454e6e41d6bc15a (patch)
treedfb13d733e870ab58e6637b0f7139c7d261931b1 /src/common/dns_utils.h
parentMerge pull request #2548 (diff)
downloadmonero-a4b4651cb09b62de3540749b4454e6e41d6bc15a.tar.xz
dns_utils: allow an optional DNS server IP in DNS_PUBLIC
tcp://a.b.c.d
Diffstat (limited to '')
-rw-r--r--src/common/dns_utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/dns_utils.h b/src/common/dns_utils.h
index f19584516..c0a2dbf2b 100644
--- a/src/common/dns_utils.h
+++ b/src/common/dns_utils.h
@@ -167,6 +167,8 @@ std::string get_account_address_as_str_from_url(const std::string& url, bool& dn
bool load_txt_records_from_dns(std::vector<std::string> &records, const std::vector<std::string> &dns_urls);
+std::string parse_dns_public(const char *s);
+
} // namespace tools::dns_utils
} // namespace tools