Diff for /embedaddon/miniupnpc/upnpcommands.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 4 Line 4
  * Copyright (c) 2005-2011 Thomas Bernard   * Copyright (c) 2005-2011 Thomas Bernard
  * This software is subject to the conditions detailed in the   * This software is subject to the conditions detailed in the
  * LICENCE file provided within this distribution */   * LICENCE file provided within this distribution */
#ifndef __UPNPCOMMANDS_H__#ifndef UPNPCOMMANDS_H_INCLUDED
#define __UPNPCOMMANDS_H__#define UPNPCOMMANDS_H_INCLUDED
   
 #include "upnpreplyparse.h"  #include "upnpreplyparse.h"
 #include "portlistingparse.h"  #include "portlistingparse.h"
Line 62  UPNP_GetConnectionTypeInfo(const char * controlURL, Line 62  UPNP_GetConnectionTypeInfo(const char * controlURL,
   
 /* UPNP_GetExternalIPAddress() call the corresponding UPNP method.  /* UPNP_GetExternalIPAddress() call the corresponding UPNP method.
  * if the third arg is not null the value is copied to it.   * if the third arg is not null the value is copied to it.
 * at least 16 bytes must be available  * at least 16 bytes must be available
  *   *
  * Return values :   * Return values :
  * 0 : SUCCESS   * 0 : SUCCESS
  * NON ZERO : ERROR Either an UPnP error code or an unknown error.   * NON ZERO : ERROR Either an UPnP error code or an unknown error.
 *  *
  * possible UPnP Errors :   * possible UPnP Errors :
  * 402 Invalid Args - See UPnP Device Architecture section on Control.   * 402 Invalid Args - See UPnP Device Architecture section on Control.
  * 501 Action Failed - See UPnP Device Architecture section on Control. */   * 501 Action Failed - See UPnP Device Architecture section on Control. */
Line 95  UPNP_GetLinkLayerMaxBitRates(const char* controlURL, Line 95  UPNP_GetLinkLayerMaxBitRates(const char* controlURL,
  * Return values :   * Return values :
  * 0 : SUCCESS   * 0 : SUCCESS
  * NON ZERO : ERROR. Either an UPnP error code or an unknown error.   * NON ZERO : ERROR. Either an UPnP error code or an unknown error.
 *  *
  * List of possible UPnP errors for AddPortMapping :   * List of possible UPnP errors for AddPortMapping :
  * errorCode errorDescription (short) - Description (long)   * errorCode errorDescription (short) - Description (long)
  * 402 Invalid Args - See UPnP Device Architecture section on Control.   * 402 Invalid Args - See UPnP Device Architecture section on Control.
Line 106  UPNP_GetLinkLayerMaxBitRates(const char* controlURL, Line 106  UPNP_GetLinkLayerMaxBitRates(const char* controlURL,
  * 718 ConflictInMappingEntry - The port mapping entry specified conflicts   * 718 ConflictInMappingEntry - The port mapping entry specified conflicts
  *                     with a mapping assigned previously to another client   *                     with a mapping assigned previously to another client
  * 724 SamePortValuesRequired - Internal and External port values   * 724 SamePortValuesRequired - Internal and External port values
 *                              must be the same  *                              must be the same
  * 725 OnlyPermanentLeasesSupported - The NAT implementation only supports   * 725 OnlyPermanentLeasesSupported - The NAT implementation only supports
  *                  permanent lease times on port mappings   *                  permanent lease times on port mappings
  * 726 RemoteHostOnlySupportsWildcard - RemoteHost must be a wildcard   * 726 RemoteHostOnlySupportsWildcard - RemoteHost must be a wildcard
Line 221  UPNP_GetListOfPortMappings(const char * controlURL, Line 221  UPNP_GetListOfPortMappings(const char * controlURL,
                            const char * numberOfPorts,                             const char * numberOfPorts,
                            struct PortMappingParserData * data);                             struct PortMappingParserData * data);
   
/* IGD:2, functions for service WANIPv6FirewallControl:1 */ /* IGD:2, functions for service WANIPv6FirewallControl:1 */
 LIBSPEC int  LIBSPEC int
 UPNP_GetFirewallStatus(const char * controlURL,  UPNP_GetFirewallStatus(const char * controlURL,
                                 const char * servicetype,                                  const char * servicetype,
                                int * firewallEnabled,                                 int * firewallEnabled,
                                 int * inboundPinholeAllowed);                                  int * inboundPinholeAllowed);
   
 LIBSPEC int  LIBSPEC int

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


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