summaryrefslogtreecommitdiff
path: root/src/command/DatabaseCommands.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-08-13 12:48:31 +0200
committerMax Kellermann <max@duempel.org>2015-08-13 12:48:31 +0200
commit86e036c3933def22b6ff0eae5bcf9cd7103240e7 (patch)
treee8d812461e22b189cea3b3df908515cebbfe0cd1 /src/command/DatabaseCommands.hxx
parent7652a2986b0d0ad55b2776685130f1c68d7108c7 (diff)
command: pass Response object to command callbacks
Diffstat (limited to 'src/command/DatabaseCommands.hxx')
-rw-r--r--src/command/DatabaseCommands.hxx23
1 files changed, 12 insertions, 11 deletions
diff --git a/src/command/DatabaseCommands.hxx b/src/command/DatabaseCommands.hxx
index 1f2cb8c6d..42dc75c71 100644
--- a/src/command/DatabaseCommands.hxx
+++ b/src/command/DatabaseCommands.hxx
@@ -24,38 +24,39 @@
class Client;
class Request;
+class Response;
CommandResult
-handle_listfiles_db(Client &client, const char *uri);
+handle_listfiles_db(Client &client, Response &r, const char *uri);
CommandResult
-handle_lsinfo2(Client &client, Request args);
+handle_lsinfo2(Client &client, Request request, Response &response);
CommandResult
-handle_find(Client &client, Request args);
+handle_find(Client &client, Request request, Response &response);
CommandResult
-handle_findadd(Client &client, Request args);
+handle_findadd(Client &client, Request request, Response &response);
CommandResult
-handle_search(Client &client, Request args);
+handle_search(Client &client, Request request, Response &response);
CommandResult
-handle_searchadd(Client &client, Request args);
+handle_searchadd(Client &client, Request request, Response &response);
CommandResult
-handle_searchaddpl(Client &client, Request args);
+handle_searchaddpl(Client &client, Request request, Response &response);
CommandResult
-handle_count(Client &client, Request args);
+handle_count(Client &client, Request request, Response &response);
CommandResult
-handle_listall(Client &client, Request args);
+handle_listall(Client &client, Request request, Response &response);
CommandResult
-handle_list(Client &client, Request args);
+handle_list(Client &client, Request request, Response &response);
CommandResult
-handle_listallinfo(Client &client, Request args);
+handle_listallinfo(Client &client, Request request, Response &response);
#endif