summaryrefslogtreecommitdiff
path: root/src/command/NeighborCommands.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-12-06 00:08:08 +0100
committerMax Kellermann <max@duempel.org>2014-12-08 13:30:35 +0100
commit6edfc56c9df7b212c65a5a40e9d0f132429578ea (patch)
tree32817169cad14212606f3e9234283bf6671e924a /src/command/NeighborCommands.hxx
parent5837a6394256f10b16d9a1fbc19be686ef2da2b6 (diff)
command: use ConstBuffer<const char *> for argument list
Diffstat (limited to 'src/command/NeighborCommands.hxx')
-rw-r--r--src/command/NeighborCommands.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/command/NeighborCommands.hxx b/src/command/NeighborCommands.hxx
index 7fb309aeb..e07f26925 100644
--- a/src/command/NeighborCommands.hxx
+++ b/src/command/NeighborCommands.hxx
@@ -25,12 +25,13 @@
struct Instance;
class Client;
+template<typename T> struct ConstBuffer;
gcc_pure
bool
neighbor_commands_available(const Instance &instance);
CommandResult
-handle_listneighbors(Client &client, unsigned argc, char *argv[]);
+handle_listneighbors(Client &client, ConstBuffer<const char *> args);
#endif