mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-13 11:35:20 +01:00
There is only a single protocol now, caller should just be concerned about whether to enable port mapping or not.
14 lines
401 B
C
14 lines
401 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
|
|
|
|
static constexpr bool DEFAULT_NATPMP = false;
|
|
|
|
void StartMapPort(bool enable);
|
|
void InterruptMapPort();
|
|
void StopMapPort();
|
|
|
|
#endif // BITCOIN_MAPPORT_H
|