From c21da40de5fb20ade5b07dcc961c9364ba3815af Mon Sep 17 00:00:00 2001 From: mhilbrunner Date: Fri, 11 May 2018 02:00:16 +0200 Subject: Add UPnP support (port forwarding, querying external IP) --- thirdparty/miniupnpc/upnperrors.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 thirdparty/miniupnpc/upnperrors.h (limited to 'thirdparty/miniupnpc/upnperrors.h') 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 -- cgit v1.2.3