MCPcopy Create free account
hub / github.com/F-Stack/f-stack / RM_ReplyWithLongLong

Function RM_ReplyWithLongLong

app/redis-6.2.6/src/module.c:1496–1501  ·  view source on GitHub ↗

Send an integer reply to the client, with the specified long long value. * The function always returns REDISMODULE_OK. */

Source from the content-addressed store, hash-verified

1494/* Send an integer reply to the client, with the specified long long value.
1495 * The function always returns REDISMODULE_OK. */
1496int RM_ReplyWithLongLong(RedisModuleCtx *ctx, long long ll) {
1497 client *c = moduleGetReplyClient(ctx);
1498 if (c == NULL) return REDISMODULE_OK;
1499 addReplyLongLong(c,ll);
1500 return REDISMODULE_OK;
1501}
1502
1503/* Reply with the error 'err'.
1504 *

Callers

nothing calls this directly

Calls 2

moduleGetReplyClientFunction · 0.85
addReplyLongLongFunction · 0.85

Tested by

no test coverage detected