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>2015-03-01 23:34:21 +0300
committermichael-grunder <michael.grunder@gmail.com>2015-05-06 01:11:16 +0300
commit92f620bcad134d1d948ec01afaf07308ad11a353 (patch)
tree1a44f9b897ffae2977afbc25288e634d46e4611d /redis_commands.h
parent4529e6ec12f6ed670c49e369bc46f6cc98e547aa (diff)
Incorporate formalized multi-bulk proessing from develop
This commit just backports the newer and improved multi-bulk processing for various commands (e.g. zrange, hmget,etc) from develop into feature/redis_cluster Also modified getbit to treat the value as a long
Diffstat (limited to 'redis_commands.h')
-rw-r--r--redis_commands.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/redis_commands.h b/redis_commands.h
index 6ac9abee..f54ea019 100644
--- a/redis_commands.h
+++ b/redis_commands.h
@@ -106,6 +106,12 @@ int redis_set_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
int redis_brpoplpush_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
char **cmd, int *cmd_len, short *slot, void **ctx);
+int redis_incr_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
+ char **cmd, int *cmd_len, short *slot, void **ctx);
+
+int redis_decr_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
+ char **cmd, int *cmd_len, short *slot, void **ctx);
+
int redis_hincrby_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
char **cmd, int *cmd_len, short *slot, void **ctx);