aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/upnp/Discovery.hxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-08-30*: add missing Compiler.h includesMax Kellermann1-0/+1
Necessary for "final" on gcc 4.6.
2014-01-26upnp/discovery: use a plain UpnpClient_Handle instead of class LibUPnPMax Kellermann1-3/+2
2014-01-26upnp: add class UpnpCallbackMax Kellermann1-1/+5
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/Discovery: add listener interfaceMax Kellermann1-1/+9
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-23db/upnp/Discovery: use std::list instead of std::mapMax Kellermann1-5/+8
There will only be very few items, and that does not justify the bloat of std::map.
2014-01-23db/upnp/Discovery: move code to LockAdd(), LockRemove()Max Kellermann1-0/+3
2014-01-23db/upnp/Discovery: un-inline the destructorMax Kellermann1-0/+1
2014-01-18db/upnp/Discovery: eliminate attribute "last_seen"Max Kellermann1-5/+3
2014-01-18db/upnp/Discovery: use monotonic clock instead of time()Max Kellermann1-7/+14
2014-01-18db/upnp/Discovery: eliminate full copy in getServer()Max Kellermann1-3/+1
2014-01-18db/upnp/Discovery: eliminate Error attributeMax Kellermann1-16/+7
Move code to method Start() and add Error& parameters to several methods.
2014-01-18db/upnp/Device: move code to method Parse()Max Kellermann1-6/+10
Forward the Error to the caller.
2014-01-18db/upnp/Device: use ContentDirectoryDescriptor's move operatorMax Kellermann1-0/+2
Reduce bloat.
2014-01-18db/upnp/Discovery: don't copy XML to std::stringMax Kellermann1-1/+1
Pass "const char *" to Expat.
2014-01-18db/upnp: don't use WorkQueue for _ADVERTISEMENT_BYEBYEMax Kellermann1-3/+2
Remove the ContentDirectoryDescriptor right away. Reduces bloat.
2014-01-17db/upnp/Discovery: move callbacks and data structures into classMax Kellermann1-0/+55
Eliminate global variables.
2014-01-16db/upnp: move the LibUPnP instance to class UpnpDatabaseMax Kellermann1-1/+4
Delete the object when closing the database.
2014-01-16db/upnp: move the UPnPDeviceDirectory instance to class UpnpDatabaseMax Kellermann1-4/+2
Delete the object when closing the database.
2014-01-09UPnP database pluginJean-Francois Dockes1-0/+90
[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]