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

Function ACLClearCommandID

src/acl.cpp:1166–1170  ·  view source on GitHub ↗

Clear command id table and reset nextid to 0. */

Source from the content-addressed store, hash-verified

1164
1165/* Clear command id table and reset nextid to 0. */
1166void ACLClearCommandID(void) {
1167 if (commandId) raxFree(commandId);
1168 commandId = NULL;
1169 nextid = 0;
1170}
1171
1172/* Return an username by its name, or NULL if the user does not exist. */
1173user *ACLGetUserByName(const char *name, size_t namelen) {

Callers 1

initSentinelFunction · 0.85

Calls 1

raxFreeFunction · 0.85

Tested by

no test coverage detected