diff options
author | mhilbrunner <m.hilbrunner@gmail.com> | 2018-05-11 02:00:16 +0200 |
---|---|---|
committer | mhilbrunner <m.hilbrunner@gmail.com> | 2018-06-07 01:52:04 +0200 |
commit | c21da40de5fb20ade5b07dcc961c9364ba3815af (patch) | |
tree | 0afa8202296f30dcd939bc24492e97d4864f4fb1 /thirdparty/miniupnpc/upnperrors.h | |
parent | e854a71fac776cf49a0d65468e8130401eff3c6b (diff) |
Add UPnP support (port forwarding, querying external IP)
Diffstat (limited to 'thirdparty/miniupnpc/upnperrors.h')
-rw-r--r-- | thirdparty/miniupnpc/upnperrors.h | 26 |
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 |