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>2014-07-11 20:25:37 +0400
committermichael-grunder <michael.grunder@gmail.com>2015-05-06 01:04:12 +0300
commit77bcc2b2c436318d3e43ba6c86e51cbd4a32cffe (patch)
tree49ac6a93daa8aed1d0984337061535a495a55142 /redis_commands.h
parent3714ebb23db2fc7c978cac5154d820b3523f2525 (diff)
ZREVRANGEBYLEX
Implemented ZREVRANGEBYLEX for Redis and RedisCluster, and made command construction a generic that can handle either.
Diffstat (limited to 'redis_commands.h')
-rw-r--r--redis_commands.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/redis_commands.h b/redis_commands.h
index 3451a63c..af39eac3 100644
--- a/redis_commands.h
+++ b/redis_commands.h
@@ -89,6 +89,9 @@ int redis_subscribe_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
int redis_unsubscribe_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
char *kw, char **cmd, int *cmd_len, short *slot, void **ctx);
+int redis_zrangebylex_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
+ char *kw, char **cmd, int *cmd_len, short *slot, void **ctx);
+
/* Commands which need a unique construction mechanism. This is either because
* they don't share a signature with any other command, or because there is
* specific processing we do (e.g. verifying subarguments) that make them
@@ -197,9 +200,6 @@ int redis_sdiff_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
int redis_sdiffstore_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
char **cmd, int *cmd_len, short *slot, void **ctx);
-int redis_zrangebylex_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
- char **cmd, int *cmd_len, short *slot, void **ctx);
-
int redis_zlexcount_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
char **cmd, int *cmd_len, short *slot, void **ctx);