diff options
author | Pavlo Yatsukhnenko <yatsukhnenko@gmail.com> | 2021-04-05 08:27:45 +0300 |
---|---|---|
committer | Pavlo Yatsukhnenko <yatsukhnenko@gmail.com> | 2021-12-28 22:17:19 +0300 |
commit | b344649b6f6d84362411507166daad5312a431f5 (patch) | |
tree | b90ae0bc89d366658da66be7021eda24f95a451a /redis_commands.h | |
parent | 8751a92c03dd289970d168e1b6efe2836908ea77 (diff) |
[WIP] Issue #1894
Add geosearch and geosearchstore commands.
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 88c66bcf..851e28b2 100644 --- a/redis_commands.h +++ b/redis_commands.h @@ -145,6 +145,12 @@ int redis_georadius_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, int redis_georadiusbymember_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, char *kw, char **cmd, int *cmd_len, short *slot, void **ctx); +int redis_geosearch_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, + char **cmd, int *cmd_len, short *slot, void **ctx); + +int redis_geosearchstore_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, + 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 |