//------------------------------------------------------------------- // ECLConnection::IsAPIEnabled // // Display list of all started connections which have APIs enabled. //------------------------------------------------------------------- void Sample14() { ECLConnection *Info; // Pointer to connection object ECLConnList ConnList; // Connection list object for (Info = ConnList.GetFirstConnection(); Info != NULL; Info = ConnList.GetNextConnection(Info)) { if (Info->IsAPIEnabled()) printf("Connection %c has APIs enabled.\n", Info->GetName()); } } // end sample