aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/upnp/ClientInit.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-01-01Copyright year 2015Max Kellermann1-1/+1
2014-01-26upnp: initialize the client handle only onceMax Kellermann1-20/+53
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: move library initialization to Init.cxxMax Kellermann1-17/+5
Allow calling UpnpGlobalInit() multiple times.
2014-01-26upnp: add class UpnpCallbackMax Kellermann1-6/+9
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-26upnp: remove obsolete global variable "theLib"Max Kellermann1-6/+0
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-14/+0
Delete the object when closing the database.
2014-01-13db/upnp: use std::function for the libupnp callbackMax Kellermann1-13/+3
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-6/+1
2014-01-10db/upnp: remove "upnplog" optionMax Kellermann1-30/+1
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-9/+0
2014-01-09UPnP database pluginJean-Francois Dockes1-0/+144
[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]