summaryrefslogtreecommitdiff
path: root/upnperrors.h
diff options
context:
space:
mode:
authorJohn Wiseman <john.wiseman@cantab.net>2022-08-28 09:35:46 +0100
committerJohn Wiseman <john.wiseman@cantab.net>2022-08-28 09:35:46 +0100
commite3ea58d23aae3aca6f382c4b95ec31a1f7875cae (patch)
tree6aa82a196df5ce3330d112e047febc348c44dc1d /upnperrors.h
Diffstat (limited to 'upnperrors.h')
-rw-r--r--upnperrors.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/upnperrors.h b/upnperrors.h
new file mode 100644
index 0000000..3115aee
--- /dev/null
+++ b/upnperrors.h
@@ -0,0 +1,26 @@
+/* $Id: upnperrors.h,v 1.6 2015/07/21 13:16:55 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