summaryrefslogtreecommitdiff
path: root/src/redismodule.h
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2016-04-25 17:09:26 +0200
committerantirez <antirez@gmail.com>2016-05-10 06:40:09 +0200
commit9b0556cf10dbd646bd011ccffcf619732b9dbef1 (patch)
tree4abeddae9e2822f103106d1cee13c6b6f1c017a6 /src/redismodule.h
parent10993ca0d51e21ff2dc68de9dce56ce2becb0e0c (diff)
downloadredis-9b0556cf10dbd646bd011ccffcf619732b9dbef1.tar.gz
Modules: Hash type API WIP #2.
Diffstat (limited to 'src/redismodule.h')
-rw-r--r--src/redismodule.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/redismodule.h b/src/redismodule.h
index f911298e8..d96e96451 100644
--- a/src/redismodule.h
+++ b/src/redismodule.h
@@ -150,6 +150,7 @@ int REDISMODULE_API_FUNC(RedisModule_ZsetRangeNext)(RedisModuleKey *key);
int REDISMODULE_API_FUNC(RedisModule_ZsetRangePrev)(RedisModuleKey *key);
int REDISMODULE_API_FUNC(RedisModule_ZsetRangeEndReached)(RedisModuleKey *key);
int REDISMODULE_API_FUNC(RedisModule_HashSet)(RedisModuleKey *key, int flags, ...);
+int REDISMODULE_API_FUNC(RedisModule_HashGet)(RedisModuleKey *key, int flags, ...);
/* This is included inline inside each Redis module. */
static int RedisModule_Init(RedisModuleCtx *ctx, const char *name, int ver, int apiver) {
@@ -215,6 +216,7 @@ static int RedisModule_Init(RedisModuleCtx *ctx, const char *name, int ver, int
REDISMODULE_GET_API(ZsetRangePrev);
REDISMODULE_GET_API(ZsetRangeEndReached);
REDISMODULE_GET_API(HashSet);
+ REDISMODULE_GET_API(HashGet);
RedisModule_SetModuleAttribs(ctx,name,ver,apiver);
return REDISMODULE_OK;