From b62a8e3e3e8be005ccc8be8d157a0fb92d461e31 Mon Sep 17 00:00:00 2001
From: Max Kellermann <max@duempel.org>
Date: Tue, 25 Sep 2012 12:04:20 +0200
Subject: command: add COMMAND_RETURN_IDLE

Eliminate the hack in handle_idle().
---
 src/command.h | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'src/command.h')

diff --git a/src/command.h b/src/command.h
index 6d8a13be1..6ddd22491 100644
--- a/src/command.h
+++ b/src/command.h
@@ -31,6 +31,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.
-- 
cgit v1.2.3