diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-02-23 00:10:48 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-01-07 18:07:08 +0200 |
commit | 4e91b1e24d96e0cdccdd2a3ed034413f3ba6bae6 (patch) | |
tree | 01f7e01ff0f66e58d98b5f3805780f571570476c /src/mapport.h | |
parent | 8b50d1b5bb29b7d1ea0245ba75a8df3144e312dc (diff) |
net: Add flags for port mapping protocols
Diffstat (limited to 'src/mapport.h')
-rw-r--r-- | src/mapport.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mapport.h b/src/mapport.h index 25ff2fd1eb..6e33b6ef74 100644 --- a/src/mapport.h +++ b/src/mapport.h @@ -12,7 +12,12 @@ static const bool DEFAULT_UPNP = USE_UPNP; static const bool DEFAULT_UPNP = false; #endif -void StartMapPort(); +enum MapPortProtoFlag : unsigned int { + NONE = 0x00, + UPNP = 0x01, +}; + +void StartMapPort(bool use_upnp); void InterruptMapPort(); void StopMapPort(); |