diff options
author | Max Kellermann <max@duempel.org> | 2014-01-23 22:21:45 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-23 22:35:22 +0100 |
commit | c9af358e4bbc39da7dfe3ce650008c12ac3f8335 (patch) | |
tree | e3b4864f5578687f005930380920a45905e1db76 /src/db/upnp/Discovery.hxx | |
parent | 3afcfe3330a447915d5c7806ce397cee418e51d0 (diff) | |
download | mpd-c9af358e4bbc39da7dfe3ce650008c12ac3f8335.tar.gz mpd-c9af358e4bbc39da7dfe3ce650008c12ac3f8335.tar.xz mpd-c9af358e4bbc39da7dfe3ce650008c12ac3f8335.zip |
db/upnp/Discovery: move code to LockAdd(), LockRemove()
Diffstat (limited to 'src/db/upnp/Discovery.hxx')
-rw-r--r-- | src/db/upnp/Discovery.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/db/upnp/Discovery.hxx b/src/db/upnp/Discovery.hxx index 78d905369..fec9fe1fb 100644 --- a/src/db/upnp/Discovery.hxx +++ b/src/db/upnp/Discovery.hxx @@ -129,6 +129,9 @@ private: */ bool expireDevices(Error &error); + void LockAdd(std::string &&id, ContentDirectoryDescriptor &&d); + void LockRemove(const std::string &id); + /** * Worker routine for the discovery queue. Get messages about * devices appearing and disappearing, and update the |