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

Function ACLInit

app/redis-6.2.6/src/acl.c:1055–1060  ·  view source on GitHub ↗

Initialization of the ACL subsystem. */

Source from the content-addressed store, hash-verified

1053
1054/* Initialization of the ACL subsystem. */
1055void ACLInit(void) {
1056 Users = raxNew();
1057 UsersToLoad = listCreate();
1058 ACLLog = listCreate();
1059 ACLInitDefaultUser();
1060}
1061
1062/* Check the username and password pair and return C_OK if they are valid,
1063 * otherwise C_ERR is returned and errno is set to:

Callers 1

mainFunction · 0.85

Calls 3

raxNewFunction · 0.85
listCreateFunction · 0.85
ACLInitDefaultUserFunction · 0.85

Tested by

no test coverage detected