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>2018-03-22 23:57:32 +0300
committerPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2018-04-22 22:23:35 +0300
commitbeb6e8f3aba298f79d23730a2ce95cef47698bd1 (patch)
treec1997ed5db60e09883ce2828e59ef26fec0cea24 /redis_commands.h
parent80d2a91744712c6026bf2707861510a4ba319ade (diff)
Issue #1302
Handle async parameter for Redis::flushDb and Redis::flushAll TODO: implementation for RedisArray and RedisCluster
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 978c1026..413b868e 100644
--- a/redis_commands.h
+++ b/redis_commands.h
@@ -109,6 +109,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_flush_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
+ char *kw, char **cmd, int *cmd_len, 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
* specific processing we do (e.g. verifying subarguments) that make them