diff options
author | michael-grunder <michael.grunder@gmail.com> | 2022-10-08 19:18:04 +0300 |
---|---|---|
committer | michael-grunder <michael.grunder@gmail.com> | 2022-10-08 19:23:13 +0300 |
commit | 6ea978eb72507c3c21805de8bc916b1aa7f0f0dd (patch) | |
tree | 31c0d8d6d3b8bb036ae8ba2ffcb99d089039585d /redis_commands.h | |
parent | bebd398c67eaba7d7f612bc1bf5f07a7470787f2 (diff) |
[B]LMPOP and [B]ZMPOP commands
Implement the new Redis 7.0.0 commands to pop multiple elements from one
or more lists/zsets.
Additionally, remove INTERNAL_FUNCTION_PARAMETERS from the
redis_sock_read_multibulk_reply_zval helper function as it wasn't
actually being used.
Diffstat (limited to 'redis_commands.h')
-rw-r--r-- | redis_commands.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/redis_commands.h b/redis_commands.h index c51896ad..dbd2e71b 100644 --- a/redis_commands.h +++ b/redis_commands.h @@ -132,6 +132,9 @@ int redis_intercard_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, int redis_lcs_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, char **cmd, int *cmd_len, short *slot, void **ctx); +int redis_mpop_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, char *kw, + char **cmd, int *cmd_len, short *slot, void **ctx); + int redis_subscribe_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, char *kw, char **cmd, int *cmd_len, short *slot, void **ctx); |