aboutsummaryrefslogtreecommitdiff
path: root/external/miniupnpc/portlistingparse.h
diff options
context:
space:
mode:
Diffstat (limited to 'external/miniupnpc/portlistingparse.h')
-rw-r--r--external/miniupnpc/portlistingparse.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/external/miniupnpc/portlistingparse.h b/external/miniupnpc/portlistingparse.h
index a410202e3..e3957a3f4 100644
--- a/external/miniupnpc/portlistingparse.h
+++ b/external/miniupnpc/portlistingparse.h
@@ -1,22 +1,16 @@
-/* $Id: portlistingparse.h,v 1.5 2012/01/21 13:30:33 nanard Exp $ */
+/* $Id: portlistingparse.h,v 1.10 2014/11/01 10:37:32 nanard Exp $ */
/* MiniUPnP project
* http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
- * (c) 2011-2012 Thomas Bernard
+ * (c) 2011-2015 Thomas Bernard
* This software is subject to the conditions detailed
* in the LICENCE file provided within the distribution */
#ifndef PORTLISTINGPARSE_H_INCLUDED
#define PORTLISTINGPARSE_H_INCLUDED
-#include "declspec.h"
+#include "miniupnpc_declspec.h"
/* for the definition of UNSIGNED_INTEGER */
#include "miniupnpctypes.h"
-#if defined(NO_SYS_QUEUE_H) || defined(_WIN32) || defined(__HAIKU__)
-#include "bsdqueue.h"
-#else
-#include <sys/queue.h>
-#endif
-
#ifdef __cplusplus
extern "C" {
#endif
@@ -41,7 +35,7 @@ typedef enum { PortMappingEltNone,
NewLeaseTime } portMappingElt;
struct PortMapping {
- LIST_ENTRY(PortMapping) entries;
+ struct PortMapping * l_next; /* list next element */
UNSIGNED_INTEGER leaseTime;
unsigned short externalPort;
unsigned short internalPort;
@@ -53,7 +47,7 @@ struct PortMapping {
};
struct PortMappingParserData {
- LIST_HEAD(portmappinglisthead, PortMapping) head;
+ struct PortMapping * l_head; /* list head */
portMappingElt curelt;
};