aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-05-24 19:02:21 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2012-05-31 18:12:35 +0200
commit587f929c6462698a674fe8add2f301161219d05a (patch)
tree1a1f3dde2af5e4fe19a66d692df94e8b223560db /src/net.h
parent50fac686541686191647ddabd87d6dae75c24c52 (diff)
Rework network config settings
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index 8075328b13..c9c965722e 100644
--- a/src/net.h
+++ b/src/net.h
@@ -36,7 +36,7 @@ void AddressCurrentlyConnected(const CService& addr);
CNode* FindNode(const CNetAddr& ip);
CNode* FindNode(const CService& ip);
CNode* ConnectNode(CAddress addrConnect, const char *strDest = NULL, int64 nTimeout=0);
-void MapPort(bool fMapPort);
+void MapPort();
unsigned short GetListenPort();
bool BindListenPort(const CService &bindAddr, std::string& strError=REF(std::string()));
void StartNode(void* parg);
@@ -110,6 +110,8 @@ enum threadId
};
extern bool fClient;
+extern bool fDiscover;
+extern bool fUseUPnP;
extern uint64 nLocalServices;
extern uint64 nLocalHostNonce;
extern boost::array<int, THREAD_MAX> vnThreadsRunning;