aboutsummaryrefslogtreecommitdiff
path: root/src/netbase.h
diff options
context:
space:
mode:
authorGavin Andresen <[email protected]>2012-06-18 11:39:16 -0700
committerGavin Andresen <[email protected]>2012-06-18 11:39:16 -0700
commitc5532e188e17deb077c2c78d9087943236e45458 (patch)
tree000e516b9764454f36818385ca2635abd0462b03 /src/netbase.h
parentMerge branch 'master' of https://github.com/fanquake/bitcoin (diff)
parentAdd netbase tests (diff)
downloaddiscoin-c5532e188e17deb077c2c78d9087943236e45458.tar.xz
discoin-c5532e188e17deb077c2c78d9087943236e45458.zip
Merge pull request #1399 from sipa/ipparse
Improve parsing of IPv6 addresses
Diffstat (limited to 'src/netbase.h')
-rw-r--r--src/netbase.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/netbase.h b/src/netbase.h
index a66d3e7f6..7a797e2fd 100644
--- a/src/netbase.h
+++ b/src/netbase.h
@@ -133,6 +133,7 @@ class CService : public CNetAddr
};
enum Network ParseNetwork(std::string net);
+void SplitHostPort(std::string in, int &portOut, std::string &hostOut);
bool SetProxy(enum Network net, CService addrProxy, int nSocksVersion = 5);
bool GetProxy(enum Network net, CService &addrProxy);
bool IsProxy(const CNetAddr &addr);