summaryrefslogtreecommitdiff
path: root/thirdparty/miniupnpc/upnpdev.h
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2018-06-07 02:10:48 +0200
committerGitHub <noreply@github.com>2018-06-07 02:10:48 +0200
commitb4c65093d72bf9b48cc3ddce50a0d913d3d75ed3 (patch)
tree50dba3db0348294fb88852b92bf9a66d57c70451 /thirdparty/miniupnpc/upnpdev.h
parentaaf93f92d8ba9bef29f42b590782fc6f0fad6fdc (diff)
parentc21da40de5fb20ade5b07dcc961c9364ba3815af (diff)
Merge pull request #18780 from mhilbrunner/upnp
Add UPnP support (port forwarding, querying external IP)
Diffstat (limited to 'thirdparty/miniupnpc/upnpdev.h')
-rw-r--r--thirdparty/miniupnpc/upnpdev.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/thirdparty/miniupnpc/upnpdev.h b/thirdparty/miniupnpc/upnpdev.h
new file mode 100644
index 0000000000..f4ae174426
--- /dev/null
+++ b/thirdparty/miniupnpc/upnpdev.h
@@ -0,0 +1,36 @@
+/* $Id: upnpdev.h,v 1.1 2015/08/28 12:14:19 nanard Exp $ */
+/* Project : miniupnp
+ * Web : http://miniupnp.free.fr/
+ * Author : Thomas BERNARD
+ * copyright (c) 2005-2018 Thomas Bernard
+ * This software is subjet to the conditions detailed in the
+ * provided LICENSE file. */
+#ifndef UPNPDEV_H_INCLUDED
+#define UPNPDEV_H_INCLUDED
+
+#include "miniupnpc_declspec.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+struct UPNPDev {
+ struct UPNPDev * pNext;
+ char * descURL;
+ char * st;
+ char * usn;
+ unsigned int scope_id;
+ char buffer[3];
+};
+
+/* freeUPNPDevlist()
+ * free list returned by upnpDiscover() */
+MINIUPNP_LIBSPEC void freeUPNPDevlist(struct UPNPDev * devlist);
+
+
+#ifdef __cplusplus
+}
+#endif
+
+
+#endif /* UPNPDEV_H_INCLUDED */