MCPcopy Create free account
hub / github.com/bdring/FluidNC / AddAuthIP

Method AddAuthIP

FluidNC/src/WebUI/WebUIServer.cpp:1301–1309  ·  view source on GitHub ↗

add the information in the linked list if possible

Source from the content-addressed store, hash-verified

1299
1300 //add the information in the linked list if possible
1301 bool WebUI_Server::AddAuthIP(AuthenticationIP* item) {
1302 if (_nb_ip > MAX_AUTH_IP) {
1303 return false;
1304 }
1305 item->_next = _head;
1306 _head = item;
1307 _nb_ip++;
1308 return true;
1309 }
1310
1311 //Session ID based on IP and time using 16 char
1312 const char* WebUI_Server::create_session_ID() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected