miniupnpc: increments API_VERSION to 17

This commit is contained in:
Thomas Bernard 2018-04-06 12:48:24 +02:00
parent 284db0bb49
commit f8acab6d38
6 changed files with 12 additions and 5 deletions

View File

@ -2,7 +2,7 @@ cmake_minimum_required (VERSION 2.6)
project (miniupnpc C)
set (MINIUPNPC_VERSION 2.0)
set (MINIUPNPC_API_VERSION 16)
set (MINIUPNPC_API_VERSION 17)
if (NOT CMAKE_BUILD_TYPE)
if (WIN32)

View File

@ -3,6 +3,7 @@ miniUPnP client Changelog.
2018/04/06:
Use SOCKET type instead of int (for Win64 compilation)
Increments API_VERSION to 17
2018/02/22:
Disable usage of MiniSSDPd when using -m option

View File

@ -69,7 +69,7 @@ ifneq (, $(findstring sun, $(OS)))
endif
# APIVERSION is used to build SONAME
APIVERSION = 16
APIVERSION = 17
SRCS = igd_desc_parse.c miniupnpc.c minixml.c minisoap.c miniwget.c \
upnpc.c upnpcommands.c upnpreplyparse.c testminixml.c \

View File

@ -2,6 +2,12 @@ $Id: apiversions.txt,v 1.9 2016/01/24 17:24:36 nanard Exp $
Differences in API between miniUPnPc versions
API version 17
change struct UPNPDev
move getHTTPResponse() to miniwget_private.h
updated macro :
#define MINIUPNPC_API_VERSION 17
API version 16
added "status_code" argument to getHTTPResponse(), miniwget() and miniwget_getaddr()
updated macro :

View File

@ -21,7 +21,7 @@
/* versions : */
#define MINIUPNPC_VERSION "2.0"
#define MINIUPNPC_API_VERSION 16
#define MINIUPNPC_API_VERSION 17
/* Source port:
Using "1" as an alias for 1900 for backwards compatibility

View File

@ -2,7 +2,7 @@
/* Project : miniupnp
* Web : http://miniupnp.free.fr/
* Author : Thomas BERNARD
* copyright (c) 2005-2015 Thomas Bernard
* copyright (c) 2005-2018 Thomas Bernard
* This software is subjet to the conditions detailed in the
* provided LICENSE file. */
#ifndef UPNPDEV_H_INCLUDED
@ -18,8 +18,8 @@ struct UPNPDev {
struct UPNPDev * pNext;
char * descURL;
char * st;
unsigned int scope_id;
char * usn;
unsigned int scope_id;
char buffer[3];
};