Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2014-01-26 | upnp: initialize the client handle only once | Max Kellermann | 1 | -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-26 | upnp: move library initialization to Init.cxx | Max Kellermann | 1 | -17/+5 | |
Allow calling UpnpGlobalInit() multiple times. | |||||
2014-01-26 | upnp: add class UpnpCallback | Max Kellermann | 1 | -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-26 | upnp: remove obsolete global variable "theLib" | Max Kellermann | 1 | -6/+0 | |
2014-01-26 | db/upnp: move generic code to lib/upnp/ | Max Kellermann | 1 | -0/+0 | |
2014-01-24 | Database*: move to db/ | Max Kellermann | 1 | -0/+0 | |
2014-01-16 | db/upnp: move the LibUPnP instance to class UpnpDatabase | Max Kellermann | 1 | -14/+0 | |
Delete the object when closing the database. | |||||
2014-01-13 | db/upnp: use std::function for the libupnp callback | Max Kellermann | 1 | -13/+3 | |
Replaces the bloated std::map. | |||||
2014-01-11 | db/upnp: remove unnecessary Mutex | Max Kellermann | 1 | -2/+0 | |
2014-01-10 | db/upnp: remove unused method setMaxContentLength() | Max Kellermann | 1 | -6/+1 | |
2014-01-10 | db/upnp: remove "upnplog" option | Max Kellermann | 1 | -30/+1 | |
We have removed all libupnp logging calls, and we don't need to debug libupnp. | |||||
2014-01-10 | db/upnp: remove unused method errAsString() | Max Kellermann | 1 | -9/+0 | |
2014-01-09 | UPnP database plugin | Jean-Francois Dockes | 1 | -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] |