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/NeighborCommands.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/command/NeighborCommands.hxx') diff --git a/src/command/NeighborCommands.hxx b/src/command/NeighborCommands.hxx index c077f5b61..efe05c5ae 100644 --- a/src/command/NeighborCommands.hxx +++ b/src/command/NeighborCommands.hxx @@ -26,12 +26,13 @@ struct Instance; class Client; class Request; +class Response; gcc_pure bool neighbor_commands_available(const Instance &instance); CommandResult -handle_listneighbors(Client &client, Request args); +handle_listneighbors(Client &client, Request request, Response &response); #endif -- cgit v1.2.3