diff options
author | michael-grunder <michael.grunder@gmail.com> | 2014-06-08 06:45:16 +0400 |
---|---|---|
committer | michael-grunder <michael.grunder@gmail.com> | 2015-05-06 00:40:52 +0300 |
commit | 6534d933e1c12e4389de174dea09107838b768fd (patch) | |
tree | 97839d9e371a1876c7ca06612ce415fd708d5d22 /redis_commands.h | |
parent | 8591ead2e84c6c246e7efe12a2469c10a5ef067c (diff) |
HSET/HSETNX
Implemented HSET and HSETNX commands
Diffstat (limited to 'redis_commands.h')
-rw-r--r-- | redis_commands.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/redis_commands.h b/redis_commands.h index 03e245bb..d9a166be 100644 --- a/redis_commands.h +++ b/redis_commands.h @@ -106,6 +106,13 @@ int redis_lrem_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, int redis_smove_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, char **cmd, int *cmd_len, short *slot, void **ctx); + +int redis_hset_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, + char **cmd, int *cmd_len, short *slot, void **ctx); + +int redis_hsetnx_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, + char **cmd, int *cmd_len, short *slot, void **ctx); + #endif /* vim: set tabstop=4 softtabstops=4 noexpandtab shiftwidth=4: */ |