summaryrefslogtreecommitdiff
path: root/hiredis.h
diff options
context:
space:
mode:
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 4635280..8c26a8f 100644
--- a/hiredis.h
+++ b/hiredis.h
@@ -71,6 +71,9 @@
/* Flag that is set when an async callback is executed. */
#define REDIS_IN_CALLBACK 0x10
+/* Flag that is set when the async context has one or more subscriptions. */
+#define REDIS_SUBSCRIBED 0x20
+
#define REDIS_REPLY_STRING 1
#define REDIS_REPLY_ARRAY 2
#define REDIS_REPLY_INTEGER 3