• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

build-aux/H23-Sep-2021-16,68212,444

inc/H23-Sep-2021-2,577658

m4/H23-Sep-2021-9,0828,210

src/H23-Sep-2021-20,42613,535

test/H23-Sep-2021-148

COPYINGH A D26-Dec-20181.4 KiB2723

INSTALLH A D26-Dec-20180

Makefile.amH A D30-Mar-20213.9 KiB180140

Makefile.inH A D23-Sep-202193.6 KiB1,7341,562

README.mdH A D17-Sep-20201.4 KiB3726

aclocal.m4H A D23-Sep-202153 KiB1,4771,339

autoconfig.h.inH A D23-Sep-20214.5 KiB197134

autogen.shH A D26-Dec-2018233 164

configureH A D23-Sep-2021612.3 KiB20,29217,179

configure.acH A D23-Sep-20218.5 KiB267224

libnpupnp.pc.inH A D22-Jun-2020249 1210

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