summaryrefslogtreecommitdiff
path: root/src/Idle.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-12 21:46:16 +0100
committerMax Kellermann <max@duempel.org>2014-02-12 23:06:47 +0100
commitace4ba317105341364313d2d1e78b54829ae3883 (patch)
treeea13f8bf0a9c2882b0415767ba274c438867c789 /src/Idle.hxx
parent0935ae330abe4aca1b63d46eaaa2f8a67c06375f (diff)
StorageCommands: emit IDLE_MOUNT on successful "mount"
Add the new idle event to Idle.hxx/Idle.cxx.
Diffstat (limited to 'src/Idle.hxx')
-rw-r--r--src/Idle.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Idle.hxx b/src/Idle.hxx
index 48f7a6aa0..fb7150f98 100644
--- a/src/Idle.hxx
+++ b/src/Idle.hxx
@@ -64,6 +64,9 @@ static constexpr unsigned IDLE_MESSAGE = 0x400;
/** a neighbor was found or lost */
static constexpr unsigned IDLE_NEIGHBOR = 0x800;
+/** the mount list has changed */
+static constexpr unsigned IDLE_MOUNT = 0x1000;
+
/**
* Adds idle flag (with bitwise "or") and queues notifications to all
* clients.