aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-22 21:40:32 +0200
committerMax Kellermann <max@duempel.org>2008-10-22 21:40:32 +0200
commitd0a9dcdcf53dfce14fad41166001b6c3ffb754bc (patch)
tree66b255f766cc680a1e9c43cf071326ab1142f3d2 /src/command.h
parent7aca4cd194b8ec2546e598800b153a5009b1792d (diff)
downloadmpd-d0a9dcdcf53dfce14fad41166001b6c3ffb754bc.tar.gz
mpd-d0a9dcdcf53dfce14fad41166001b6c3ffb754bc.tar.xz
mpd-d0a9dcdcf53dfce14fad41166001b6c3ffb754bc.zip
ack: converted ACK_ERROR_* macros to enum
Diffstat (limited to 'src/command.h')
-rw-r--r--src/command.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/command.h b/src/command.h
index 57b83fa5f..a1ee6474c 100644
--- a/src/command.h
+++ b/src/command.h
@@ -21,6 +21,7 @@
#include "gcc.h"
#include "sllist.h"
+#include "ack.h"
#define COMMAND_RETURN_KILL 10
#define COMMAND_RETURN_CLOSE 20
@@ -39,7 +40,7 @@ void finishCommands(void);
void command_success(struct client *client);
-mpd_fprintf_ void command_error(struct client *client, int error,
+mpd_fprintf_ void command_error(struct client *client, enum ack error,
const char *fmt, ...);
#endif