Skip to content

Commit dd6a05a

Browse files
committed
miniupnpc: Update to 2.3.3
1 parent d599946 commit dd6a05a

24 files changed

+1245
-659
lines changed

COPYRIGHT.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ License: CC0-1.0
416416

417417
Files: thirdparty/miniupnpc/*
418418
Comment: MiniUPnP Project
419-
Copyright: 2005-2024, Thomas Bernard
419+
Copyright: 2005-2025, Thomas Bernard
420420
License: BSD-3-clause
421421

422422
Files: thirdparty/minizip/*

thirdparty/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ Patches:
712712
## miniupnpc
713713

714714
- Upstream: https://github.com/miniupnp/miniupnp
715-
- Version: 2.2.8 (b55145ec095652289a59c33603f3abafee898273, 2024)
715+
- Version: 2.3.3 (bf4215a7574f88aa55859db9db00e3ae58cf42d6, 2025)
716716
- License: BSD-3-Clause
717717

718718
Files extracted from upstream source:

thirdparty/miniupnpc/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BSD 3-Clause License
22

3-
Copyright (c) 2005-2024, Thomas BERNARD
3+
Copyright (c) 2005-2025, Thomas BERNARD
44
All rights reserved.
55

66
Redistribution and use in source and binary forms, with or without

thirdparty/miniupnpc/include/miniupnpc/igd_desc_parse.h

Lines changed: 38 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,72 @@
1-
/* $Id: igd_desc_parse.h,v 1.12 2014/11/17 17:19:13 nanard Exp $ */
1+
/* $Id: igd_desc_parse.h,v 1.14 2025/02/08 23:15:16 nanard Exp $ */
22
/* Project : miniupnp
3-
* http://miniupnp.free.fr/
3+
* http://miniupnp.free.fr/ or https://miniupnp.tuxfamily.org/
44
* Author : Thomas Bernard
5-
* Copyright (c) 2005-2014 Thomas Bernard
5+
* Copyright (c) 2005-2025 Thomas Bernard
66
* This software is subject to the conditions detailed in the
77
* LICENCE file provided in this distribution.
88
* */
99
#ifndef IGD_DESC_PARSE_H_INCLUDED
1010
#define IGD_DESC_PARSE_H_INCLUDED
1111

12-
/* Structure to store the result of the parsing of UPnP
13-
* descriptions of Internet Gateway Devices */
12+
/*! \file igd_desc_parse.h
13+
* \brief API to parse UPNP device description XML
14+
* \todo should not be exposed in the public API
15+
*/
16+
17+
/*! \brief maximum lenght of URLs */
1418
#define MINIUPNPC_URL_MAXSIZE (128)
19+
20+
/*! \brief Structure to store the result of the parsing of UPnP
21+
* descriptions of Internet Gateway Devices services */
1522
struct IGDdatas_service {
23+
/*! \brief controlURL for the service */
1624
char controlurl[MINIUPNPC_URL_MAXSIZE];
25+
/*! \brief eventSubURL for the service */
1726
char eventsuburl[MINIUPNPC_URL_MAXSIZE];
27+
/*! \brief SCPDURL for the service */
1828
char scpdurl[MINIUPNPC_URL_MAXSIZE];
29+
/*! \brief serviceType */
1930
char servicetype[MINIUPNPC_URL_MAXSIZE];
2031
/*char devicetype[MINIUPNPC_URL_MAXSIZE];*/
2132
};
2233

34+
/*! \brief Structure to store the result of the parsing of UPnP
35+
* descriptions of Internet Gateway Devices */
2336
struct IGDdatas {
37+
/*! \brief current element name */
2438
char cureltname[MINIUPNPC_URL_MAXSIZE];
39+
/*! \brief URLBase */
2540
char urlbase[MINIUPNPC_URL_MAXSIZE];
41+
/*! \brief presentationURL */
2642
char presentationurl[MINIUPNPC_URL_MAXSIZE];
43+
/*! \brief depth into the XML tree */
2744
int level;
28-
/*int state;*/
29-
/* "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1" */
45+
/*! \brief "urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1" */
3046
struct IGDdatas_service CIF;
31-
/* "urn:schemas-upnp-org:service:WANIPConnection:1"
32-
* "urn:schemas-upnp-org:service:WANPPPConnection:1" */
47+
/*! \brief first of "urn:schemas-upnp-org:service:WANIPConnection:1"
48+
* or "urn:schemas-upnp-org:service:WANPPPConnection:1" */
3349
struct IGDdatas_service first;
34-
/* if both WANIPConnection and WANPPPConnection are present */
50+
/*! \brief second of "urn:schemas-upnp-org:service:WANIPConnection:1"
51+
* or "urn:schemas-upnp-org:service:WANPPPConnection:1" */
3552
struct IGDdatas_service second;
36-
/* "urn:schemas-upnp-org:service:WANIPv6FirewallControl:1" */
53+
/*! \brief "urn:schemas-upnp-org:service:WANIPv6FirewallControl:1" */
3754
struct IGDdatas_service IPv6FC;
38-
/* tmp */
55+
/*! \brief currently parsed service */
3956
struct IGDdatas_service tmp;
4057
};
4158

59+
/*!
60+
* \brief XML start element handler
61+
*/
4262
void IGDstartelt(void *, const char *, int);
63+
/*!
64+
* \brief XML end element handler
65+
*/
4366
void IGDendelt(void *, const char *, int);
67+
/*!
68+
* \brief XML characted data handler
69+
*/
4470
void IGDdata(void *, const char *, int);
4571
#ifdef DEBUG
4672
void printIGD(struct IGDdatas *);

0 commit comments

Comments
 (0)