Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael-grunder <michael.grunder@gmail.com>2022-10-08 19:18:04 +0300
committermichael-grunder <michael.grunder@gmail.com>2022-10-08 19:23:13 +0300
commit6ea978eb72507c3c21805de8bc916b1aa7f0f0dd (patch)
tree31c0d8d6d3b8bb036ae8ba2ffcb99d089039585d /cluster_library.h
parentbebd398c67eaba7d7f612bc1bf5f07a7470787f2 (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 'cluster_library.h')
-rw-r--r--cluster_library.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cluster_library.h b/cluster_library.h
index ddb29f29..1f18c35a 100644
--- a/cluster_library.h
+++ b/cluster_library.h
@@ -496,6 +496,9 @@ PHP_REDIS_API void cluster_xclaim_resp(INTERNAL_FUNCTION_PARAMETERS,
PHP_REDIS_API void cluster_xinfo_resp(INTERNAL_FUNCTION_PARAMETERS,
redisCluster *c, void *ctx);
+PHP_REDIS_API void cluster_mpop_resp(INTERNAL_FUNCTION_PARAMETERS,
+ redisCluster *c, void *ctx);
+
/* Custom ACL handlers */
PHP_REDIS_API void cluster_acl_getuser_resp(INTERNAL_FUNCTION_PARAMETERS, redisCluster *c, void *ctx);
PHP_REDIS_API void cluster_acl_log_resp(INTERNAL_FUNCTION_PARAMETERS, redisCluster *c, void *ctx);