From 01cce89d9d6d6d91c464fa8d755899a7d5322c86 Mon Sep 17 00:00:00 2001 From: Alex Leverington Date: Wed, 11 Jul 2012 02:53:58 -0500 Subject: async: support for determining monitor mode, if so, repush replies callback in expectation of another reply. --- hiredis.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'hiredis.h') diff --git a/hiredis.h b/hiredis.h index 8358375..7c04b62 100644 --- a/hiredis.h +++ b/hiredis.h @@ -76,6 +76,9 @@ /* Flag that is set when the async context has one or more subscriptions. */ #define REDIS_SUBSCRIBED 0x20 +/* Flag that is set when monitor mode is active */ +#define REDIS_MONITORING 0x40 + #define REDIS_REPLY_STRING 1 #define REDIS_REPLY_ARRAY 2 #define REDIS_REPLY_INTEGER 3 -- cgit v1.2.3