From 86e036c3933def22b6ff0eae5bcf9cd7103240e7 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 13 Aug 2015 12:48:31 +0200 Subject: command: pass Response object to command callbacks --- src/command/StorageCommands.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/command/StorageCommands.hxx') diff --git a/src/command/StorageCommands.hxx b/src/command/StorageCommands.hxx index bbc0149bd..7d3c552f6 100644 --- a/src/command/StorageCommands.hxx +++ b/src/command/StorageCommands.hxx @@ -34,12 +34,12 @@ CommandResult handle_listfiles_storage(Response &r, const char *uri); CommandResult -handle_listmounts(Client &client, Request args); +handle_listmounts(Client &client, Request request, Response &response); CommandResult -handle_mount(Client &client, Request args); +handle_mount(Client &client, Request request, Response &response); CommandResult -handle_unmount(Client &client, Request args); +handle_unmount(Client &client, Request request, Response &response); #endif -- cgit v1.2.3