command: convert command_return to to a strictly-typed enum

This commit is contained in:
Max Kellermann
2013-10-20 13:10:54 +02:00
parent 8118bc93a8
commit cf4d80fc65
25 changed files with 429 additions and 422 deletions

View File

@@ -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