summaryrefslogtreecommitdiff
path: root/hiredis.h
diff options
context:
space:
mode:
authorPieter Noordhuis <pcnoordhuis@gmail.com>2012-07-11 08:49:20 -0700
committerPieter Noordhuis <pcnoordhuis@gmail.com>2012-07-11 08:49:20 -0700
commit63e34f5fe0ef2eaa39a6b9a8d43fcf9febab3190 (patch)
tree4bab4ec31ed33cb0e2a312a9a7e40c1f9a82edbe /hiredis.h
parentf8debbfdbebb97f5d0ee2218edf1425ac219cff5 (diff)
parent01cce89d9d6d6d91c464fa8d755899a7d5322c86 (diff)
Merge pull request #112 from nessence/master
MONITOR causes assertion failure, async.c, line 398.
Diffstat (limited to 'hiredis.h')
-rw-r--r--hiredis.h3
1 files changed, 3 insertions, 0 deletions
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