version 1.1.1.1, 2012/02/21 23:16:22
|
version 1.1.1.2, 2013/07/22 00:36:10
|
Line 1
|
Line 1
|
/* $Id$ */ |
/* $Id$ */ |
/* MiniUPnP project |
/* MiniUPnP project |
* http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/ |
* http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/ |
* (c) 2011 Thomas Bernard | * (c) 2011-2012 Thomas Bernard |
* This software is subject to the conditions detailed |
* This software is subject to the conditions detailed |
* in the LICENCE file provided within the distribution */ |
* in the LICENCE file provided within the distribution */ |
#ifndef __PORTLISTINGPARSE_H__ | #ifndef PORTLISTINGPARSE_H_INCLUDED |
#define __PORTLISTINGPARSE_H__ | #define PORTLISTINGPARSE_H_INCLUDED |
|
|
#include "declspec.h" |
#include "declspec.h" |
/* for the definition of UNSIGNED_INTEGER */ |
/* for the definition of UNSIGNED_INTEGER */ |
#include "miniupnpctypes.h" |
#include "miniupnpctypes.h" |
|
|
#if defined(NO_SYS_QUEUE_H) || defined(WIN32) || defined(__HAIKU__) | #if defined(NO_SYS_QUEUE_H) || defined(_WIN32) || defined(__HAIKU__) |
#include "bsdqueue.h" |
#include "bsdqueue.h" |
#else |
#else |
#include <sys/queue.h> |
#include <sys/queue.h> |
Line 37 typedef enum { PortMappingEltNone,
|
Line 37 typedef enum { PortMappingEltNone,
|
PortMappingEntry, NewRemoteHost, |
PortMappingEntry, NewRemoteHost, |
NewExternalPort, NewProtocol, |
NewExternalPort, NewProtocol, |
NewInternalPort, NewInternalClient, |
NewInternalPort, NewInternalClient, |
NewEnabled, NewDescription, | NewEnabled, NewDescription, |
NewLeaseTime } portMappingElt; |
NewLeaseTime } portMappingElt; |
|
|
struct PortMapping { |
struct PortMapping { |