diff options
author | Pavlo Yatsukhnenko <yatsukhnenko@gmail.com> | 2019-12-18 15:00:45 +0300 |
---|---|---|
committer | Michael Grunder <michael.grunder@gmail.com> | 2020-02-07 01:14:46 +0300 |
commit | c94e28f1ebabdfceb722ad78eff75ce4fc57f5a3 (patch) | |
tree | 39ff8750ed2cf4d1930f98979681a674e90b1e21 /redis_commands.h | |
parent | b1724b84828eac58c4d3e29b190bd49dc55c209a (diff) |
Add RedisSentinel class and tests
Diffstat (limited to 'redis_commands.h')
-rw-r--r-- | redis_commands.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/redis_commands.h b/redis_commands.h index af17d57a..addcce53 100644 --- a/redis_commands.h +++ b/redis_commands.h @@ -289,6 +289,12 @@ int redis_xreadgroup_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, int redis_xtrim_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, char **cmd, int *cmd_len, short *slot, void **ctx); +int redis_sentinel_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, + char *kw, char **cmd, int *cmd_len, short *slot, void **ctx); + +int redis_sentinel_str_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, + char *kw, char **cmd, int *cmd_len, short *slot, void **ctx); + /* Commands that don't communicate with Redis at all (such as getOption, * setOption, _prefix, _serialize, etc). These can be handled in one place * with the method of grabbing our RedisSock* object in different ways |