apiversions.txt 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. $Id: apiversions.txt,v 1.7 2015/07/23 20:40:08 nanard Exp $
  2. Differences in API between miniUPnPc versions
  3. API version 14
  4. miniupnpc.h
  5. add ttl argument to upnpDiscover() upnpDiscoverAll() upnpDiscoverDevice()
  6. upnpDiscoverDevices()
  7. getDevicesFromMiniSSDPD() :
  8. connectToMiniSSDPD() / disconnectFromMiniSSDPD()
  9. requestDevicesFromMiniSSDPD() / receiveDevicesFromMiniSSDPD()
  10. API version 13
  11. miniupnpc.h:
  12. add searchalltype param to upnpDiscoverDevices() function
  13. updated macro :
  14. #define MINIUPNPC_API_VERSION 13
  15. API version 12
  16. miniupnpc.h :
  17. add upnpDiscoverAll() / upnpDiscoverDevice() / upnpDiscoverDevices()
  18. functions
  19. updated macros :
  20. #define MINIUPNPC_API_VERSION 12
  21. API version 11
  22. upnpreplyparse.h / portlistingparse.h :
  23. removed usage of sys/queue.h / bsdqueue.h
  24. miniupnpc.h:
  25. updated macros :
  26. #define MINIUPNPC_API_VERSION 11
  27. ====================== miniUPnPc version 1.9 ======================
  28. API version 10
  29. upnpcommands.h:
  30. added argument remoteHost to UPNP_GetSpecificPortMappingEntry()
  31. miniupnpc.h:
  32. updated macros :
  33. #define MINIUPNPC_VERSION "1.9"
  34. #define MINIUPNPC_API_VERSION 10
  35. ====================== miniUPnPc version 1.8 ======================
  36. API version 9
  37. miniupnpc.h:
  38. updated macros :
  39. #define MINIUPNPC_VERSION "1.8"
  40. #define MINIUPNPC_API_VERSION 9
  41. added "unsigned int scope_id;" to struct UPNPDev
  42. added scope_id argument to GetUPNPUrls()
  43. ====================== miniUPnPc version 1.7 ======================
  44. API version 8
  45. miniupnpc.h :
  46. add new macros :
  47. #define MINIUPNPC_VERSION "1.7"
  48. #define MINIUPNPC_API_VERSION 8
  49. add rootdescURL to struct UPNPUrls
  50. ====================== miniUPnPc version 1.6 ======================
  51. API version 8
  52. Adding support for IPv6.
  53. igd_desc_parse.h :
  54. struct IGDdatas_service :
  55. add char presentationurl[MINIUPNPC_URL_MAXSIZE];
  56. struct IGDdatas :
  57. add struct IGDdatas_service IPv6FC;
  58. miniupnpc.h :
  59. new macros :
  60. #define UPNPDISCOVER_SUCCESS (0)
  61. #define UPNPDISCOVER_UNKNOWN_ERROR (-1)
  62. #define UPNPDISCOVER_SOCKET_ERROR (-101)
  63. #define UPNPDISCOVER_MEMORY_ERROR (-102)
  64. simpleUPnPcommand() prototype changed (but is normaly not used by API users)
  65. add arguments ipv6 and error to upnpDiscover() :
  66. struct UPNPDev *
  67. upnpDiscover(int delay, const char * multicastif,
  68. const char * minissdpdsock, int sameport,
  69. int ipv6,
  70. int * error);
  71. add controlURL_6FC member to struct UPNPUrls :
  72. struct UPNPUrls {
  73. char * controlURL;
  74. char * ipcondescURL;
  75. char * controlURL_CIF;
  76. char * controlURL_6FC;
  77. };
  78. upnpcommands.h :
  79. add leaseDuration argument to UPNP_AddPortMapping()
  80. add desc, enabled and leaseDuration arguments to UPNP_GetSpecificPortMappingEntry()
  81. add UPNP_GetListOfPortMappings() function (IGDv2)
  82. add IGDv2 IPv6 related functions :
  83. UPNP_GetFirewallStatus()
  84. UPNP_GetOutboundPinholeTimeout()
  85. UPNP_AddPinhole()
  86. UPNP_UpdatePinhole()
  87. UPNP_DeletePinhole()
  88. UPNP_CheckPinholeWorking()
  89. UPNP_GetPinholePackets()
  90. ====================== miniUPnPc version 1.5 ======================
  91. API version 5
  92. new function :
  93. int UPNPIGD_IsConnected(struct UPNPUrls *, struct IGDdatas *);
  94. new macro in upnpcommands.h :
  95. #define UPNPCOMMAND_HTTP_ERROR
  96. ====================== miniUPnPc version 1.4 ======================
  97. Same API as version 1.3
  98. ====================== miniUPnPc version 1.3 ======================
  99. API version 4
  100. Use UNSIGNED_INTEGER type for
  101. UPNP_GetTotalBytesSent(), UPNP_GetTotalBytesReceived(),
  102. UPNP_GetTotalPacketsSent(), UPNP_GetTotalPacketsReceived()
  103. Add remoteHost argument to UPNP_AddPortMapping() and UPNP_DeletePortMapping()
  104. ====================== miniUPnPc version 1.2 ======================
  105. API version 3
  106. added sameport argument to upnpDiscover()
  107. struct UPNPDev *
  108. upnpDiscover(int delay, const char * multicastif,
  109. const char * minissdpdsock, int sameport);
  110. ====================== miniUPnPc Version 1.1 ======================
  111. Same API as 1.0
  112. ====================== miniUPnPc Version 1.0 ======================
  113. API version 2
  114. struct UPNPDev {
  115. struct UPNPDev * pNext;
  116. char * descURL;
  117. char * st;
  118. char buffer[2];
  119. };
  120. struct UPNPDev * upnpDiscover(int delay, const char * multicastif,
  121. const char * minissdpdsock);