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

Function ConnectionWithSameConfigPointExists

source/src/cip/appcontype.c:428–440  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

426}
427
428bool ConnectionWithSameConfigPointExists(const EipUint32 config_point) {
429 DoublyLinkedListNode *node = connection_list.first;
430
431 while (NULL != node) {
432 CipConnectionObject *connection = node->data;
433 OPENER_ASSERT(NULL != connection)
434 if (config_point == connection->configuration_path.instance_id) {
435 return true;
436 }
437 node = node->next;
438 }
439 return false;
440}
441
442void InitializeIoConnectionData(void) {
443 memset( g_exlusive_owner_connections, 0,

Callers 1

HandleConfigDataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected