From 6e4941706835d32bfce6b2843f791ef9720b7b88 Mon Sep 17 00:00:00 2001 From: michael-grunder Date: Wed, 29 May 2019 09:42:29 -0700 Subject: Allow PING to take an optional argument. Addresses #1563 --- redis_commands.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'redis_commands.h') diff --git a/redis_commands.h b/redis_commands.h index 9a9c777d..71bdb5f7 100644 --- a/redis_commands.h +++ b/redis_commands.h @@ -33,6 +33,9 @@ smart_string *redis_build_script_cmd(smart_string *cmd, int argc, zval *z_args); int redis_empty_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, char *kw, char **cmd, int *cmd_len, short *slot, void **ctx); +int redis_opt_str_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, char *kw, + char **cmd, int *cmd_len, short *slot, void **ctx); + int redis_str_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, char *kw, char **cmd, int *cmd_len, short *slot, void **ctx); -- cgit v1.2.3