aboutsummaryrefslogtreecommitdiff
path: root/net.h
diff options
context:
space:
mode:
authorMatt Corallo <matt@bluematt.me>2011-03-26 13:01:27 +0100
committerMatt Corallo <matt@bluematt.me>2011-03-30 20:45:56 +0200
commit8bb5edc1c9054d835ef79c9f1ab3e021b0693303 (patch)
tree3f97435a0e5c512bcbafe15bb0f8a014a7b6e278 /net.h
parent454bc86479a387893604cd662aae994d37699672 (diff)
downloadbitcoin-8bb5edc1c9054d835ef79c9f1ab3e021b0693303.tar.xz
Allow UPnP mapping when USE_UPNP is defined and miniupnpc is installed at build time(statically linked).
Thanks joepie91 for the translation of the new copyright notices into Dutch. Thanks sipa for the translation of the new copyright notices into French. Thanks megu for the translation of the new copyright notices into Spanish. Thanks justmoon/Blitzboom for the translation of the new copyright notices into German. Thanks Joozero for the translation of the new copyright notices into Italian. Remaining translations were provided by Google Translate.
Diffstat (limited to 'net.h')
-rw-r--r--net.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net.h b/net.h
index 7d4974fd01..b3bd74da47 100644
--- a/net.h
+++ b/net.h
@@ -30,6 +30,7 @@ CNode* FindNode(unsigned int ip);
CNode* ConnectNode(CAddress addrConnect, int64 nTimeout=0);
void AbandonRequests(void (*fn)(void*, CDataStream&), void* param1);
bool AnySubscribed(unsigned int nChannel);
+void MapPort(bool fMapPort);
void DNSAddressSeed();
bool BindListenPort(string& strError=REF(string()));
void StartNode(void* parg);