From cf4d80fc655a399615529bdd27e0be284754c5ab Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 20 Oct 2013 13:10:54 +0200 Subject: command: convert command_return to to a strictly-typed enum --- src/ClientInternal.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ClientInternal.hxx') diff --git a/src/ClientInternal.hxx b/src/ClientInternal.hxx index 4df58eee6..e0affb045 100644 --- a/src/ClientInternal.hxx +++ b/src/ClientInternal.hxx @@ -22,7 +22,7 @@ #include "check.h" #include "Client.hxx" -#include "command.h" +#include "CommandResult.hxx" enum { CLIENT_MAX_SUBSCRIPTIONS = 16, @@ -35,7 +35,7 @@ extern int client_timeout; extern size_t client_max_command_list_size; extern size_t client_max_output_buffer_size; -enum command_return +CommandResult client_process_line(Client &client, char *line); #endif -- cgit v1.2.3