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

Function addReplyBulkSds

app/redis-6.2.6/src/networking.c:836–840  ·  view source on GitHub ↗

Add sds to reply (takes ownership of sds and frees it) */

Source from the content-addressed store, hash-verified

834
835/* Add sds to reply (takes ownership of sds and frees it) */
836void addReplyBulkSds(client *c, sds s) {
837 addReplyLongLongWithPrefix(c,sdslen(s),'$');
838 addReplySds(c,s);
839 addReply(c,shared.crlf);
840}
841
842/* Set sds to a deferred reply (for symmetry with addReplyBulkSds it also frees the sds) */
843void setDeferredReplyBulkSds(client *c, void *node, sds s) {

Callers 12

configGetCommandFunction · 0.85
sdsConfigGetFunction · 0.85
sentinelInfoCommandFunction · 0.85
georadiusGenericFunction · 0.85
stralgoLCSFunction · 0.85
dumpCommandFunction · 0.85
aclCommandFunction · 0.85
debugCommandFunction · 0.85
addReplyStreamIDFunction · 0.85

Calls 4

sdslenFunction · 0.85
addReplySdsFunction · 0.85
addReplyFunction · 0.85

Tested by

no test coverage detected