|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| build-aux/ | H | 23-Sep-2021 | - | 16,682 | 12,444 |
| inc/ | H | 23-Sep-2021 | - | 2,577 | 658 |
| m4/ | H | 23-Sep-2021 | - | 9,082 | 8,210 |
| src/ | H | 23-Sep-2021 | - | 20,426 | 13,535 |
| test/ | H | 23-Sep-2021 | - | 14 | 8 |
| COPYING | H A D | 26-Dec-2018 | 1.4 KiB | 27 | 23 |
| INSTALL | H A D | 26-Dec-2018 | 0 | | |
| Makefile.am | H A D | 30-Mar-2021 | 3.9 KiB | 180 | 140 |
| Makefile.in | H A D | 23-Sep-2021 | 93.6 KiB | 1,734 | 1,562 |
| README.md | H A D | 17-Sep-2020 | 1.4 KiB | 37 | 26 |
| aclocal.m4 | H A D | 23-Sep-2021 | 53 KiB | 1,477 | 1,339 |
| autoconfig.h.in | H A D | 23-Sep-2021 | 4.5 KiB | 197 | 134 |
| autogen.sh | H A D | 26-Dec-2018 | 233 | 16 | 4 |
| configure | H A D | 23-Sep-2021 | 612.3 KiB | 20,292 | 17,179 |
| configure.ac | H A D | 23-Sep-2021 | 8.5 KiB | 267 | 224 |
| libnpupnp.pc.in | H A D | 22-Jun-2020 | 249 | 12 | 10 |
README.md
1# libnpupnp
2
3Copyright (c) 2000-2003 Intel Corporation - All Rights Reserved.
4Copyright (c) 2005-2006 Rémi Turboult <r3mi@users.sourceforge.net>
5Copyright (c) 2006 Michel Pfeiffer and others <virtual_worlds@gmx.de>
6Copyright (c) 2020 Jean-Francois Dockes <jf@dockes.org>
7See COPYING for details.
8
9npupnp (new pupnp or not pupnp ?) is an UPnP library derived from the
10venerable pupnp (https://github.com/pupnp/pupnp), based on its 1.6.x
11branch (around 1.6.25).
12
13Have a look at the
14[DOC](https://www.lesbonscomptes.com/upmpdcli/npupnp-doc/libnpupnp.html) !
15
16Main modifications:
17
18 - Support multiple network interfaces
19 - Support multiple root devices (already in the late pupnp versions).
20 - Use libcurl for HTTP client functions.
21 - Use libmicrohttpd for HTTP server functions (GENA, SOAP, and WEB server).
22 - Vastly cleaned-up code. Use C++ STL as needed to eliminate locally-grown
23 data structures.
24
25The changes reduce the library from around 40000 lines of code to around
2620000, replacing difficult to maintain (and sometimes weird) code with well
27supported and maintained libraries.
28
29The C API has been largely preserved, except for a few calls which
30passed IXML DOM tree objects as parameters, where they have been replaced
31by either XML string documents or C++ STL structures.
32
33At this point the API is C++. It would not be impossible to add a pure C
34API if this was needed.
35
36
37