upnperrors.h 624 B

123456789101112131415161718192021222324252627
  1. /* $Id: upnperrors.h,v 1.2 2008/07/02 23:31:15 nanard Exp $ */
  2. /* (c) 2007-2015 Thomas Bernard
  3. * All rights reserved.
  4. * MiniUPnP Project.
  5. * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
  6. * This software is subjet to the conditions detailed in the
  7. * provided LICENCE file. */
  8. #ifndef UPNPERRORS_H_INCLUDED
  9. #define UPNPERRORS_H_INCLUDED
  10. #include "miniupnpc_declspec.h"
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif
  14. /* strupnperror()
  15. * Return a string description of the UPnP error code
  16. * or NULL for undefinded errors */
  17. MINIUPNP_LIBSPEC const char * strupnperror(int err);
  18. #ifdef __cplusplus
  19. }
  20. #endif
  21. #endif