bitcoin/src/mapport.h
Antoine Poinsot 2a6536ceda
mapport: rename 'use_pcp' to 'enable'
There is only a single protocol now, caller should just be concerned about whether to enable port mapping or not.
2024-10-29 11:58:51 -04:00

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