Clear command id table and reset nextid to 0. */
| 1155 | |
| 1156 | /* Clear command id table and reset nextid to 0. */ |
| 1157 | void ACLClearCommandID(void) { |
| 1158 | if (commandId) raxFree(commandId); |
| 1159 | commandId = NULL; |
| 1160 | nextid = 0; |
| 1161 | } |
| 1162 | |
| 1163 | /* Return an username by its name, or NULL if the user does not exist. */ |
| 1164 | user *ACLGetUserByName(const char *name, size_t namelen) { |
no test coverage detected