mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-12 12:52:35 -03:00
20 lines
477 B
C
20 lines
477 B
C
|
// Copyright (c) 2011-2020 The Bitcoin Core developers
|
||
|
// Distributed under the MIT software license, see the accompanying
|
||
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||
|
|
||
|
#ifndef BITCOIN_MAPPORT_H
|
||
|
#define BITCOIN_MAPPORT_H
|
||
|
|
||
|
/** -upnp default */
|
||
|
#ifdef USE_UPNP
|
||
|
static const bool DEFAULT_UPNP = USE_UPNP;
|
||
|
#else
|
||
|
static const bool DEFAULT_UPNP = false;
|
||
|
#endif
|
||
|
|
||
|
void StartMapPort();
|
||
|
void InterruptMapPort();
|
||
|
void StopMapPort();
|
||
|
|
||
|
#endif // BITCOIN_MAPPORT_H
|