aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/upnp/Discovery.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-23 22:21:45 +0100
committerMax Kellermann <max@duempel.org>2014-01-23 22:35:22 +0100
commitc9af358e4bbc39da7dfe3ce650008c12ac3f8335 (patch)
treee3b4864f5578687f005930380920a45905e1db76 /src/db/upnp/Discovery.hxx
parent3afcfe3330a447915d5c7806ce397cee418e51d0 (diff)
downloadmpd-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.hxx3
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