Annotation of embedaddon/miniupnpc/apiversions.txt, revision 1.1

1.1     ! misho       1: $Id: apiversions.txt,v 1.10 2018/04/06 10:53:13 nanard Exp $
        !             2: 
        !             3: Differences in API between miniUPnPc versions
        !             4: 
        !             5: API version 17
        !             6:   change struct UPNPDev
        !             7:   move getHTTPResponse() to miniwget_private.h
        !             8:   updated macro :
        !             9:     #define MINIUPNPC_API_VERSION 17
        !            10: 
        !            11: API version 16
        !            12:   added "status_code" argument to getHTTPResponse(), miniwget() and miniwget_getaddr()
        !            13:   updated macro :
        !            14:     #define MINIUPNPC_API_VERSION 16
        !            15: 
        !            16: API version 15
        !            17:   changed "sameport" argument of upnpDiscover() upnpDiscoverAll() upnpDiscoverDevice()
        !            18:     to "localport". When 0 or 1, behaviour is not changed, but it can take
        !            19:     any other value between 2 and 65535
        !            20:     Existing programs should be compatible
        !            21:   updated macro :
        !            22:     #define MINIUPNPC_API_VERSION  15
        !            23: 
        !            24: API version 14
        !            25: miniupnpc.h
        !            26:   add ttl argument to upnpDiscover() upnpDiscoverAll() upnpDiscoverDevice()
        !            27:   upnpDiscoverDevices()
        !            28:   getDevicesFromMiniSSDPD() :
        !            29:     connectToMiniSSDPD() / disconnectFromMiniSSDPD()
        !            30:     requestDevicesFromMiniSSDPD() / receiveDevicesFromMiniSSDPD()
        !            31:   updated macro :
        !            32:     #define MINIUPNPC_API_VERSION  14
        !            33: 
        !            34: API version 13
        !            35: miniupnpc.h:
        !            36:   add searchalltype param to upnpDiscoverDevices() function
        !            37:   updated macro :
        !            38:     #define MINIUPNPC_API_VERSION  13
        !            39: 
        !            40: API version 12
        !            41: miniupnpc.h :
        !            42:   add upnpDiscoverAll() / upnpDiscoverDevice() / upnpDiscoverDevices()
        !            43:     functions
        !            44:   updated macros :
        !            45:     #define MINIUPNPC_API_VERSION  12
        !            46: 
        !            47: API version 11
        !            48: 
        !            49: upnpreplyparse.h / portlistingparse.h :
        !            50:   removed usage of sys/queue.h / bsdqueue.h
        !            51: 
        !            52: miniupnpc.h:
        !            53:   updated macros :
        !            54:     #define MINIUPNPC_API_VERSION  11
        !            55: 
        !            56: ====================== miniUPnPc version 1.9 ======================
        !            57: API version 10
        !            58: 
        !            59: upnpcommands.h:
        !            60:   added argument remoteHost to UPNP_GetSpecificPortMappingEntry()
        !            61: 
        !            62: miniupnpc.h:
        !            63:   updated macros :
        !            64:     #define MINIUPNPC_VERSION      "1.9"
        !            65:     #define MINIUPNPC_API_VERSION  10
        !            66: 
        !            67: ====================== miniUPnPc version 1.8 ======================
        !            68: API version 9
        !            69: 
        !            70: miniupnpc.h:
        !            71:   updated macros :
        !            72:     #define MINIUPNPC_VERSION      "1.8"
        !            73:     #define MINIUPNPC_API_VERSION  9
        !            74:   added "unsigned int scope_id;" to struct UPNPDev
        !            75:   added scope_id argument to GetUPNPUrls()
        !            76: 
        !            77: 
        !            78: 
        !            79: ====================== miniUPnPc version 1.7 ======================
        !            80: API version 8
        !            81: 
        !            82: miniupnpc.h :
        !            83:   add new macros :
        !            84:     #define MINIUPNPC_VERSION      "1.7"
        !            85:     #define MINIUPNPC_API_VERSION  8
        !            86:   add rootdescURL to struct UPNPUrls
        !            87: 
        !            88: 
        !            89: 
        !            90: ====================== miniUPnPc version 1.6 ======================
        !            91: API version 8
        !            92: 
        !            93: Adding support for IPv6.
        !            94: igd_desc_parse.h :
        !            95:   struct IGDdatas_service :
        !            96:     add char presentationurl[MINIUPNPC_URL_MAXSIZE];
        !            97:   struct IGDdatas :
        !            98:     add struct IGDdatas_service IPv6FC;
        !            99: miniupnpc.h :
        !           100:   new macros :
        !           101:     #define UPNPDISCOVER_SUCCESS (0)
        !           102:     #define UPNPDISCOVER_UNKNOWN_ERROR (-1)
        !           103:     #define UPNPDISCOVER_SOCKET_ERROR (-101)
        !           104:     #define UPNPDISCOVER_MEMORY_ERROR (-102)
        !           105:   simpleUPnPcommand() prototype changed (but is normaly not used by API users)
        !           106:   add arguments ipv6 and error to upnpDiscover() :
        !           107:      struct UPNPDev *
        !           108:      upnpDiscover(int delay, const char * multicastif,
        !           109:                   const char * minissdpdsock, int sameport,
        !           110:                   int ipv6,
        !           111:                   int * error);
        !           112:   add controlURL_6FC member to struct UPNPUrls :
        !           113:     struct UPNPUrls {
        !           114:        char * controlURL;
        !           115:        char * ipcondescURL;
        !           116:        char * controlURL_CIF;
        !           117:        char * controlURL_6FC;
        !           118:     };
        !           119: 
        !           120: upnpcommands.h :
        !           121:   add leaseDuration argument to UPNP_AddPortMapping()
        !           122:   add desc, enabled and leaseDuration arguments to UPNP_GetSpecificPortMappingEntry()
        !           123:   add UPNP_GetListOfPortMappings() function (IGDv2)
        !           124:   add IGDv2 IPv6 related functions :
        !           125:     UPNP_GetFirewallStatus()
        !           126:     UPNP_GetOutboundPinholeTimeout()
        !           127:     UPNP_AddPinhole()
        !           128:     UPNP_UpdatePinhole()
        !           129:     UPNP_DeletePinhole()
        !           130:     UPNP_CheckPinholeWorking()
        !           131:     UPNP_GetPinholePackets()
        !           132: 
        !           133: 
        !           134: 
        !           135: ====================== miniUPnPc version 1.5 ======================
        !           136: API version 5
        !           137: 
        !           138: new function :
        !           139: int UPNPIGD_IsConnected(struct UPNPUrls *, struct IGDdatas *);
        !           140: new macro in upnpcommands.h :
        !           141: #define UPNPCOMMAND_HTTP_ERROR
        !           142: 
        !           143: ====================== miniUPnPc version 1.4 ======================
        !           144: Same API as version 1.3
        !           145: 
        !           146: ====================== miniUPnPc version 1.3 ======================
        !           147: API version 4
        !           148: 
        !           149: Use UNSIGNED_INTEGER type for
        !           150: UPNP_GetTotalBytesSent(), UPNP_GetTotalBytesReceived(),
        !           151: UPNP_GetTotalPacketsSent(), UPNP_GetTotalPacketsReceived()
        !           152: Add remoteHost argument to UPNP_AddPortMapping() and UPNP_DeletePortMapping()
        !           153: 
        !           154: ====================== miniUPnPc version 1.2 ======================
        !           155: API version 3
        !           156: 
        !           157: added sameport argument to upnpDiscover()
        !           158: struct UPNPDev *
        !           159: upnpDiscover(int delay, const char * multicastif,
        !           160:              const char * minissdpdsock, int sameport);
        !           161: 
        !           162: ====================== miniUPnPc Version 1.1 ======================
        !           163: Same API as 1.0
        !           164: 
        !           165: 
        !           166: ====================== miniUPnPc Version 1.0 ======================
        !           167: API version 2
        !           168: 
        !           169: 
        !           170: struct UPNPDev {
        !           171:       struct UPNPDev * pNext;
        !           172:       char * descURL;
        !           173:       char * st;
        !           174:       char buffer[2];
        !           175: };
        !           176: struct UPNPDev * upnpDiscover(int delay, const char * multicastif,
        !           177:                               const char * minissdpdsock);
        !           178: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>