summaryrefslogtreecommitdiffstats
path: root/src/upnp/upnperrors.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/upnp/upnperrors.h')
-rw-r--r--src/upnp/upnperrors.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/upnp/upnperrors.h b/src/upnp/upnperrors.h
new file mode 100644
index 0000000..2c544c9
--- /dev/null
+++ b/src/upnp/upnperrors.h
@@ -0,0 +1,26 @@
+/* $Id: upnperrors.h,v 1.2 2008/07/02 23:31:15 nanard Exp $ */
+/* (c) 2007 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__
+#define __UPNPERRORS_H__
+
+#include "declspec.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* strupnperror()
+ * Return a string description of the UPnP error code
+ * or NULL for undefinded errors */
+LIBSPEC const char * strupnperror(int err);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif