|
|
@ -149,6 +149,7 @@ int REDISMODULE_API_FUNC(RedisModule_HashSet)(RedisModuleKey *key, int flags, ..
|
|
|
|
int REDISMODULE_API_FUNC(RedisModule_HashGet)(RedisModuleKey *key, int flags, ...);
|
|
|
|
int REDISMODULE_API_FUNC(RedisModule_HashGet)(RedisModuleKey *key, int flags, ...);
|
|
|
|
int REDISMODULE_API_FUNC(RedisModule_IsKeysPositionRequest)(RedisModuleCtx *ctx);
|
|
|
|
int REDISMODULE_API_FUNC(RedisModule_IsKeysPositionRequest)(RedisModuleCtx *ctx);
|
|
|
|
void REDISMODULE_API_FUNC(RedisModule_KeyAtPos)(RedisModuleCtx *ctx, int pos);
|
|
|
|
void REDISMODULE_API_FUNC(RedisModule_KeyAtPos)(RedisModuleCtx *ctx, int pos);
|
|
|
|
|
|
|
|
unsigned long long REDISMODULE_API_FUNC(RedisModule_GetClientId)(RedisModuleCtx *ctx);
|
|
|
|
|
|
|
|
|
|
|
|
/* This is included inline inside each Redis module. */
|
|
|
|
/* This is included inline inside each Redis module. */
|
|
|
|
static int RedisModule_Init(RedisModuleCtx *ctx, const char *name, int ver, int apiver) {
|
|
|
|
static int RedisModule_Init(RedisModuleCtx *ctx, const char *name, int ver, int apiver) {
|
|
|
@ -217,6 +218,7 @@ static int RedisModule_Init(RedisModuleCtx *ctx, const char *name, int ver, int
|
|
|
|
REDISMODULE_GET_API(HashGet);
|
|
|
|
REDISMODULE_GET_API(HashGet);
|
|
|
|
REDISMODULE_GET_API(IsKeysPositionRequest);
|
|
|
|
REDISMODULE_GET_API(IsKeysPositionRequest);
|
|
|
|
REDISMODULE_GET_API(KeyAtPos);
|
|
|
|
REDISMODULE_GET_API(KeyAtPos);
|
|
|
|
|
|
|
|
REDISMODULE_GET_API(GetClientId);
|
|
|
|
|
|
|
|
|
|
|
|
RedisModule_SetModuleAttribs(ctx,name,ver,apiver);
|
|
|
|
RedisModule_SetModuleAttribs(ctx,name,ver,apiver);
|
|
|
|
return REDISMODULE_OK;
|
|
|
|
return REDISMODULE_OK;
|
|
|
|