aboutsummaryrefslogtreecommitdiff
path: root/src/netbase.h
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2012-06-18 11:39:16 -0700
committerGavin Andresen <gavinandresen@gmail.com>2012-06-18 11:39:16 -0700
commitc5532e188e17deb077c2c78d9087943236e45458 (patch)
tree000e516b9764454f36818385ca2635abd0462b03 /src/netbase.h
parent7596a030c6c25cc9f80f22384db6dab3daa58696 (diff)
parentc4971e24f9bc0b3acc7478b53d03d73a6e64ecbc (diff)
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 a66d3e7f61..7a797e2fd6 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);