Diff for /embedaddon/miniupnpc/miniupnpc.h between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2012/02/21 23:16:22 version 1.1.1.2, 2013/07/22 00:36:10
Line 2 Line 2
 /* Project: miniupnp  /* Project: miniupnp
  * http://miniupnp.free.fr/   * http://miniupnp.free.fr/
  * Author: Thomas Bernard   * Author: Thomas Bernard
 * Copyright (c) 2005-2011 Thomas Bernard * Copyright (c) 2005-2012 Thomas Bernard
  * This software is subjects to the conditions detailed   * This software is subjects to the conditions detailed
  * in the LICENCE file provided within this distribution */   * in the LICENCE file provided within this distribution */
#ifndef __MINIUPNPC_H__#ifndef MINIUPNPC_H_INCLUDED
#define __MINIUPNPC_H__#define MINIUPNPC_H_INCLUDED
   
 #include "declspec.h"  #include "declspec.h"
 #include "igd_desc_parse.h"  #include "igd_desc_parse.h"
Line 17 Line 17
 #define UPNPDISCOVER_SOCKET_ERROR (-101)  #define UPNPDISCOVER_SOCKET_ERROR (-101)
 #define UPNPDISCOVER_MEMORY_ERROR (-102)  #define UPNPDISCOVER_MEMORY_ERROR (-102)
   
   /* versions : */
   #define MINIUPNPC_VERSION       "1.8"
   #define MINIUPNPC_API_VERSION   9
   
 #ifdef __cplusplus  #ifdef __cplusplus
 extern "C" {  extern "C" {
 #endif  #endif
Line 33  struct UPNPDev { Line 37  struct UPNPDev {
         struct UPNPDev * pNext;          struct UPNPDev * pNext;
         char * descURL;          char * descURL;
         char * st;          char * st;
           unsigned int scope_id;
         char buffer[2];          char buffer[2];
 };  };
   
Line 74  struct UPNPUrls { Line 79  struct UPNPUrls {
         char * ipcondescURL;          char * ipcondescURL;
         char * controlURL_CIF;          char * controlURL_CIF;
         char * controlURL_6FC;          char * controlURL_6FC;
           char * rootdescURL;
 };  };
   
 /* UPNP_GetValidIGD() :  /* UPNP_GetValidIGD() :
Line 105  UPNP_GetIGDFromUrl(const char * rootdescurl, Line 111  UPNP_GetIGDFromUrl(const char * rootdescurl,
                    struct IGDdatas * data,                     struct IGDdatas * data,
                    char * lanaddr, int lanaddrlen);                     char * lanaddr, int lanaddrlen);
   
LIBSPEC void GetUPNPUrls(struct UPNPUrls *, struct IGDdatas *, const char *);LIBSPEC void
 GetUPNPUrls(struct UPNPUrls *, struct IGDdatas *,
             const char *, unsigned int);
   
LIBSPEC void FreeUPNPUrls(struct UPNPUrls *);LIBSPEC void
 FreeUPNPUrls(struct UPNPUrls *);
   
 /* return 0 or 1 */  /* return 0 or 1 */
 LIBSPEC int UPNPIGD_IsConnected(struct UPNPUrls *, struct IGDdatas *);  LIBSPEC int UPNPIGD_IsConnected(struct UPNPUrls *, struct IGDdatas *);

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


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