diff options
author | Max Kellermann <max@duempel.org> | 2014-02-12 21:45:04 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-12 23:48:08 +0100 |
commit | df9667a4970e13f71571f12dfa2fa4ee5acde319 (patch) | |
tree | c3a9bcefa3522424ed0b8de28f143a03bd8cdeee /src/command/AllCommands.cxx | |
parent | e3e2ad4ae54e91f69f24c5e66cb67e5a9ba5a8d9 (diff) | |
download | mpd-df9667a4970e13f71571f12dfa2fa4ee5acde319.tar.gz mpd-df9667a4970e13f71571f12dfa2fa4ee5acde319.tar.xz mpd-df9667a4970e13f71571f12dfa2fa4ee5acde319.zip |
StorageCommands: add command "unmount"
Diffstat (limited to 'src/command/AllCommands.cxx')
-rw-r--r-- | src/command/AllCommands.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/command/AllCommands.cxx b/src/command/AllCommands.cxx index a27bfd79c..488c27daa 100644 --- a/src/command/AllCommands.cxx +++ b/src/command/AllCommands.cxx @@ -181,6 +181,9 @@ static const struct command commands[] = { { "swapid", PERMISSION_CONTROL, 2, 2, handle_swapid }, { "tagtypes", PERMISSION_READ, 0, 0, handle_tagtypes }, { "toggleoutput", PERMISSION_ADMIN, 1, 1, handle_toggleoutput }, +#ifdef ENABLE_DATABASE + { "unmount", PERMISSION_ADMIN, 1, 1, handle_unmount }, +#endif { "unsubscribe", PERMISSION_READ, 1, 1, handle_unsubscribe }, { "update", PERMISSION_CONTROL, 0, 1, handle_update }, { "urlhandlers", PERMISSION_READ, 0, 0, handle_urlhandlers }, |