diff options
author | Guy Benoish <guy.benoish@redislabs.com> | 2019-11-06 15:48:46 +0530 |
---|---|---|
committer | Guy Benoish <guy.benoish@redislabs.com> | 2019-11-06 15:52:19 +0530 |
commit | 1833d008b3af8628835b5f082c5b4b1359557893 (patch) | |
tree | df433169797ed146931d79096b4900b412ac44a9 /src/redismodule.h | |
parent | a15a5d70976cc185389b0d515265b443e5a3a0f3 (diff) | |
download | redis-1833d008b3af8628835b5f082c5b4b1359557893.tar.gz |
Support streams in general module API functions
Fixes GitHub issue #6492
Added stream support in RM_KeyType and RM_ValueLength.
Also moduleDelKeyIfEmpty was updated, even though it has
no effect now (It will be relevant when stream type direct
API will be coded - i.e. RM_StreamAdd)
Diffstat (limited to 'src/redismodule.h')
-rw-r--r-- | src/redismodule.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/redismodule.h b/src/redismodule.h index 728c7f584..40a73454d 100644 --- a/src/redismodule.h +++ b/src/redismodule.h @@ -33,6 +33,7 @@ #define REDISMODULE_KEYTYPE_SET 4 #define REDISMODULE_KEYTYPE_ZSET 5 #define REDISMODULE_KEYTYPE_MODULE 6 +#define REDISMODULE_KEYTYPE_STREAM 7 /* Reply types. */ #define REDISMODULE_REPLY_UNKNOWN -1 |