upnpdev.h 725 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /* $Id: upnpdev.h,v 1.1 2015/08/28 12:14:19 nanard Exp $ */
  2. /* Project : miniupnp
  3. * Web : http://miniupnp.free.fr/
  4. * Author : Thomas BERNARD
  5. * copyright (c) 2005-2018 Thomas Bernard
  6. * This software is subjet to the conditions detailed in the
  7. * provided LICENSE file. */
  8. #ifndef UPNPDEV_H_INCLUDED
  9. #define UPNPDEV_H_INCLUDED
  10. #include "miniupnpc_declspec.h"
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif
  14. struct UPNPDev {
  15. struct UPNPDev * pNext;
  16. char * descURL;
  17. char * st;
  18. char * usn;
  19. unsigned int scope_id;
  20. char buffer[3];
  21. };
  22. /* freeUPNPDevlist()
  23. * free list returned by upnpDiscover() */
  24. MINIUPNP_LIBSPEC void freeUPNPDevlist(struct UPNPDev * devlist);
  25. #ifdef __cplusplus
  26. }
  27. #endif
  28. #endif /* UPNPDEV_H_INCLUDED */