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

Function addReplyBulkSds

src/networking.cpp:996–1000  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

994
995/* Add sds to reply (takes ownership of sds and frees it) */
996void addReplyBulkSds(client *c, sds s) {
997 addReplyLongLongWithPrefix(c,sdslen(s),'$');
998 addReplySds(c,s);
999 addReply(c,shared.crlf);
1000}
1001
1002/* Set sds to a deferred reply (for symmetry with addReplyBulkSds it also frees the sds) */
1003void setDeferredReplyBulkSds(client *c, void *node, sds s) {

Callers 13

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

Calls 4

sdslenFunction · 0.85
addReplySdsFunction · 0.85
addReplyFunction · 0.85

Tested by

no test coverage detected