diff options
author | Max Kellermann <max@duempel.org> | 2012-09-25 12:04:20 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-09-25 12:04:20 +0200 |
commit | b62a8e3e3e8be005ccc8be8d157a0fb92d461e31 (patch) | |
tree | ffac21798e2452cfe1bfade2a858b8f87835d3ed /src/command.h | |
parent | e47240931ae6e9267025a26c970d68cbe04519fb (diff) | |
download | mpd-b62a8e3e3e8be005ccc8be8d157a0fb92d461e31.tar.gz mpd-b62a8e3e3e8be005ccc8be8d157a0fb92d461e31.tar.xz mpd-b62a8e3e3e8be005ccc8be8d157a0fb92d461e31.zip |
command: add COMMAND_RETURN_IDLE
Eliminate the hack in handle_idle().
Diffstat (limited to '')
-rw-r--r-- | src/command.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/command.h b/src/command.h index 6d8a13be1..6ddd22491 100644 --- a/src/command.h +++ b/src/command.h @@ -32,6 +32,12 @@ enum command_return { COMMAND_RETURN_OK, /** + * The connection is now in "idle" mode, and no response shall + * be generated. + */ + COMMAND_RETURN_IDLE, + + /** * There was an error. The "ACK" response was sent to the * client. */ |