aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/upnp/upnpplib.hxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-01-26upnp: initialize the client handle only onceMax Kellermann1-59/+0
Eliminate class LibUPnP and move the code to ClientInit.cxx. Its initialization function can be called multiple times, but UpnpRegisterClient() is called at most once.
2014-01-26upnp: add class UpnpCallbackMax Kellermann1-11/+0
Each Upnp*Async() call passes a new cookie pointer, and the cookie passed to UpnpRegisterClient() appears to be ignored. Using this interface is a more elegant approach than having one single "handler" function.
2014-01-26db/upnp: move generic code to lib/upnp/Max Kellermann1-0/+0
2014-01-24Database*: move to db/Max Kellermann1-0/+0
2014-01-16db/upnp: move the LibUPnP instance to class UpnpDatabaseMax Kellermann1-6/+3
Delete the object when closing the database.
2014-01-13db/upnp: use std::function for the libupnp callbackMax Kellermann1-12/+9
Replaces the bloated std::map.
2014-01-11db/upnp: remove unnecessary MutexMax Kellermann1-2/+0
2014-01-10db/upnp: remove unused method setMaxContentLength()Max Kellermann1-4/+0
2014-01-10db/upnp: remove "upnplog" optionMax Kellermann1-8/+0
We have removed all libupnp logging calls, and we don't need to debug libupnp.
2014-01-10db/upnp: remove unused method errAsString()Max Kellermann1-3/+0
2014-01-09UPnP database pluginJean-Francois Dockes1-0/+93
[mk: renamed source files, applied coding style, reduced bloat, using MPD's threading library, using MPD's error reporting and logging library and refactoring, fixed lots of bugs]