diff options
author | michael-grunder <michael.grunder@gmail.com> | 2014-06-09 23:18:06 +0400 |
---|---|---|
committer | michael-grunder <michael.grunder@gmail.com> | 2015-05-06 00:42:36 +0300 |
commit | 05fad67e8888e800126dc94e69d4dda4fae1a78f (patch) | |
tree | f87c4a9aaca28771c5fd508456d6392bbbf1a9d9 /redis_commands.h | |
parent | c89b3a651fa7674fc591342bc737e44d3745ba69 (diff) |
SORT command
Implemented SORT command in a new way (using a zval array to construct
each argument, then creating the command from that), as well as updated
Redis proper and RedisCluster to use it.
Diffstat (limited to 'redis_commands.h')
-rw-r--r-- | redis_commands.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/redis_commands.h b/redis_commands.h index ba58cdf5..0feab75c 100644 --- a/redis_commands.h +++ b/redis_commands.h @@ -108,17 +108,20 @@ int redis_smove_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, int redis_hset_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, - char **cmd, int *cmd_len, short *slot, void **ctx); + char **cmd, int *cmd_len, short *slot, void **ctx); int redis_hsetnx_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, - char **cmd, int *cmd_len, short *slot, void **ctx); + char **cmd, int *cmd_len, short *slot, void **ctx); int redis_srandmember_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, - char **cmd, int *cmd_len, short *slot, void **ctx, - short *have_count); + char **cmd, int *cmd_len, short *slot, void **ctx, short *have_count); int redis_zincrby_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, - char **cmd, int *cmd_len, short *slot, void **ctx); + char **cmd, int *cmd_len, short *slot, void **ctx); + +int redis_sort_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, + int *using_store, char **cmd, int *cmd_len, short *slot, void **ctx); + #endif /* vim: set tabstop=4 softtabstops=4 noexpandtab shiftwidth=4: */ |