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-06-08 05:10:34 +0400
committermichael-grunder <michael.grunder@gmail.com>2015-05-06 00:40:37 +0300
commit39a8673b86c8e073613d6b52f2c48f1a22f8d9ff (patch)
tree6c1aefce60ff79d8960fe193cb41542595ce17f8 /redis_commands.h
parent27815795fa7fec0d25a02bfbf0fe0456b107ba38 (diff)
Added ZRANGE and ZREVRANGE
Implemented ZRANGE and ZREVRANGE for both Redis and cluster. We can't use generic command processing here as the return type depends on the optional WITHSCORES bit. In addition, switched the code around such that zReverseRange is an alias of zRevRange because ZREVRANGE is the actual Redis command name.
Diffstat (limited to 'redis_commands.h')
-rw-r--r--redis_commands.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/redis_commands.h b/redis_commands.h
index 006d4a79..03e245bb 100644
--- a/redis_commands.h
+++ b/redis_commands.h
@@ -49,8 +49,9 @@ int redis_key_str_str_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
int redis_key_dbl_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
char *kw, char **cmd, int *cmd_len, short *slot, void **ctx);
-int redis_ss_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
- char *kw, char **cmd, int *cmd_len, short *slot, void **ctx);
+int redis_zrange_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
+ char *kw, char **cmd, int *cmd_len, zend_bool *withscores, 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