summaryrefslogtreecommitdiff
path: root/thirdparty/miniupnpc/upnperrors.h
diff options
context:
space:
mode:
authormhilbrunner <m.hilbrunner@gmail.com>2018-05-11 02:00:16 +0200
committermhilbrunner <m.hilbrunner@gmail.com>2018-06-07 01:52:04 +0200
commitc21da40de5fb20ade5b07dcc961c9364ba3815af (patch)
tree0afa8202296f30dcd939bc24492e97d4864f4fb1 /thirdparty/miniupnpc/upnperrors.h
parente854a71fac776cf49a0d65468e8130401eff3c6b (diff)
Add UPnP support (port forwarding, querying external IP)
Diffstat (limited to 'thirdparty/miniupnpc/upnperrors.h')
-rw-r--r--thirdparty/miniupnpc/upnperrors.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/thirdparty/miniupnpc/upnperrors.h b/thirdparty/miniupnpc/upnperrors.h
new file mode 100644
index 0000000000..8499d9a1c9
--- /dev/null
+++ b/thirdparty/miniupnpc/upnperrors.h
@@ -0,0 +1,26 @@
+/* $Id: upnperrors.h,v 1.2 2008/07/02 23:31:15 nanard Exp $ */
+/* (c) 2007-2015 Thomas Bernard
+ * All rights reserved.
+ * MiniUPnP Project.
+ * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
+ * This software is subjet to the conditions detailed in the
+ * provided LICENCE file. */
+#ifndef UPNPERRORS_H_INCLUDED
+#define UPNPERRORS_H_INCLUDED
+
+#include "miniupnpc_declspec.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* strupnperror()
+ * Return a string description of the UPnP error code
+ * or NULL for undefinded errors */
+MINIUPNP_LIBSPEC const char * strupnperror(int err);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif