aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/StorageCommands.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-28 19:02:23 +0100
committerMax Kellermann <max@duempel.org>2014-03-01 06:25:57 +0100
commit96afa8bd2ba44d6669949db5fce4fee5f826b753 (patch)
treea484d32c412b2cb716cc149a42f702e8c3013f48 /src/command/StorageCommands.hxx
parent797bbeabeb212ee3d818acdb19d85e2d8642f5ed (diff)
downloadmpd-96afa8bd2ba44d6669949db5fce4fee5f826b753.tar.gz
mpd-96afa8bd2ba44d6669949db5fce4fee5f826b753.tar.xz
mpd-96afa8bd2ba44d6669949db5fce4fee5f826b753.zip
command: add command "listfiles"
Lists files and directories. Supports storage plugins.
Diffstat (limited to 'src/command/StorageCommands.hxx')
-rw-r--r--src/command/StorageCommands.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/command/StorageCommands.hxx b/src/command/StorageCommands.hxx
index 82470a0e2..905cd636e 100644
--- a/src/command/StorageCommands.hxx
+++ b/src/command/StorageCommands.hxx
@@ -23,6 +23,13 @@
#include "CommandResult.hxx"
class Client;
+class Storage;
+
+CommandResult
+handle_listfiles_storage(Client &client, Storage &storage, const char *uri);
+
+CommandResult
+handle_listfiles_storage(Client &client, const char *uri);
CommandResult
handle_listmounts(Client &client, int argc, char *argv[]);