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

Function RemoveFromActiveConnections

source/src/cip/cipconnectionmanager.c:1413–1422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1411}
1412
1413void RemoveFromActiveConnections(CipConnectionObject *const connection_object) {
1414 for(DoublyLinkedListNode *iterator = connection_list.first; iterator != NULL;
1415 iterator = iterator->next) {
1416 if(iterator->data == connection_object) {
1417 DoublyLinkedListRemoveNode(&connection_list, &iterator);
1418 return;
1419 }
1420 }
1421 OPENER_TRACE_ERR("Connection not found in active connection list\n");
1422}
1423
1424EipBool8 IsConnectedOutputAssembly(const EipUint32 instance_number) {
1425 EipBool8 is_connected = false;

Calls 1

Tested by

no test coverage detected