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:
authorPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2022-04-23 15:59:26 +0300
committerPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2022-04-23 15:59:26 +0300
commit4b767be7e9c0e225b4c2a6e26ae18b8e217f4ba5 (patch)
tree5ad3303e11aa15a45476bbf5798984ad5ff75169 /redis_commands.h
parenta47c38a1c146828f12ac87a4529a8f37de593734 (diff)
Issue #1894
Add FAILOVER command.
Diffstat (limited to 'redis_commands.h')
-rw-r--r--redis_commands.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/redis_commands.h b/redis_commands.h
index 94c5dd70..45f9bd9c 100644
--- a/redis_commands.h
+++ b/redis_commands.h
@@ -133,6 +133,9 @@ int redis_gen_zlex_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
int redis_eval_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
char *kw, char **cmd, int *cmd_len, short *slot, void **ctx);
+int redis_failover_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
+ char **cmd, int *cmd_len, short *slot, void **ctx);
+
int redis_flush_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
char *kw, char **cmd, int *cmd_len, short *slot, void **ctx);