miniupnp/miniupnpc/include/upnperrors.h

27 lines
624 B
C
Raw Permalink Normal View History

2011-09-27 20:25:35 +00:00
/* $Id: upnperrors.h,v 1.2 2008/07/02 23:31:15 nanard Exp $ */
/* (c) 2007-2015 Thomas Bernard
2011-09-27 20:25:35 +00:00
* 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
2011-09-27 20:25:35 +00:00
#include "miniupnpc_declspec.h"
2011-09-27 20:25:35 +00:00
#ifdef __cplusplus
extern "C" {
#endif
/* strupnperror()
* Return a string description of the UPnP error code
2011-09-27 20:25:35 +00:00
* or NULL for undefinded errors */
MINIUPNP_LIBSPEC const char * strupnperror(int err);
2011-09-27 20:25:35 +00:00
#ifdef __cplusplus
}
#endif
#endif