From 0f92d021a1dc2992352b635846428229d2c9ffbb Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 11 Aug 2015 22:11:28 +0200 Subject: command/Request: new struct wrapping ConstBuffer --- src/command/StorageCommands.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/command/StorageCommands.cxx') diff --git a/src/command/StorageCommands.cxx b/src/command/StorageCommands.cxx index 5bb37ae6f..3f1e5f321 100644 --- a/src/command/StorageCommands.cxx +++ b/src/command/StorageCommands.cxx @@ -21,6 +21,7 @@ #include "config.h" #include "StorageCommands.hxx" +#include "Request.hxx" #include "CommandError.hxx" #include "protocol/Result.hxx" #include "util/UriUtil.hxx" @@ -168,7 +169,7 @@ print_storage_uri(Client &client, const Storage &storage) } CommandResult -handle_listmounts(Client &client, gcc_unused ConstBuffer args) +handle_listmounts(Client &client, gcc_unused Request args) { Storage *_composite = client.partition.instance.storage; if (_composite == nullptr) { @@ -190,7 +191,7 @@ handle_listmounts(Client &client, gcc_unused ConstBuffer args) } CommandResult -handle_mount(Client &client, ConstBuffer args) +handle_mount(Client &client, Request args) { Storage *_composite = client.partition.instance.storage; if (_composite == nullptr) { @@ -253,7 +254,7 @@ handle_mount(Client &client, ConstBuffer args) } CommandResult -handle_unmount(Client &client, ConstBuffer args) +handle_unmount(Client &client, Request args) { Storage *_composite = client.partition.instance.storage; if (_composite == nullptr) { -- cgit v1.2.3