MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / redisAsyncCommandArgv

Function redisAsyncCommandArgv

deps/hiredis/async.c:847–857  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

845}
846
847int redisAsyncCommandArgv(redisAsyncContext *ac, redisCallbackFn *fn, void *privdata, int argc, const char **argv, const size_t *argvlen) {
848 hisds cmd;
849 int len;
850 int status;
851 len = redisFormatSdsCommandArgv(&cmd,argc,argv,argvlen);
852 if (len < 0)
853 return REDIS_ERR;
854 status = __redisAsyncCommand(ac,fn,privdata,cmd,len);
855 hi_sdsfree(cmd);
856 return status;
857}
858
859int redisAsyncFormattedCommand(redisAsyncContext *ac, redisCallbackFn *fn, void *privdata, const char *cmd, size_t len) {
860 int status = __redisAsyncCommand(ac,fn,privdata,cmd,len);

Callers

nothing calls this directly

Calls 3

__redisAsyncCommandFunction · 0.85
hi_sdsfreeFunction · 0.85

Tested by

no test coverage detected