MCPcopy Create free account
hub / github.com/EIPStackGroup/OpENer / AddNewActiveConnection

Function AddNewActiveConnection

source/src/cip/cipconnectionmanager.c:1406–1411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1404
1405
1406void AddNewActiveConnection(const CipConnectionObject *const connection_object)
1407{
1408 DoublyLinkedListInsertAtHead(&connection_list, connection_object);
1409 ConnectionObjectSetState(connection_object,
1410 kConnectionObjectStateEstablished);
1411}
1412
1413void RemoveFromActiveConnections(CipConnectionObject *const connection_object) {
1414 for(DoublyLinkedListNode *iterator = connection_list.first; iterator != NULL;

Callers 2

EstablishIoConnectionFunction · 0.85

Calls 2

ConnectionObjectSetStateFunction · 0.85

Tested by

no test coverage detected