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

Function connSetPrivateData

app/redis-6.2.6/src/connection.c:132–134  ·  view source on GitHub ↗

Associate a private data pointer with the connection */

Source from the content-addressed store, hash-verified

130
131/* Associate a private data pointer with the connection */
132void connSetPrivateData(connection *conn, void *data) {
133 conn->private_data = data;
134}
135
136/* Get the associated private data pointer */
137void *connGetPrivateData(connection *conn) {

Callers 4

createClientFunction · 0.85
clusterConnAcceptHandlerFunction · 0.85
clusterCronFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected