aboutsummaryrefslogtreecommitdiff
path: root/src/mapport.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapport.h')
-rw-r--r--src/mapport.h7
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();