upnperrors.h 591 B

1234567891011121314151617181920212223242526
  1. /* $Id: upnperrors.h,v 1.2 2008/07/02 23:31:15 nanard Exp $ */
  2. /* (c) 2007 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__
  9. #define __UPNPERRORS_H__
  10. #include "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. LIBSPEC const char * strupnperror(int err);
  18. #ifdef __cplusplus
  19. }
  20. #endif
  21. #endif