OpenDOF Project
DOFConnection DOFConnection_CreateConnection ( DOFConnection  self,
DOFConnectionConfig  config 
)

Create a connection associated with a connection, including the ability to create a point connection (to a hub).

Point connections require an associated DOFConnection, so this is the only method allowed to create those types of connections. Other types of connections rarely benefit by having an associated DOFConnection.

Resource Management:
This function allocates resources that must later be freed by calling DOFConnection_Destroy.
Parameters
selfThe Connection. This must not be NULL.
configThe configuration options of the connection. This should not be NULL.
Returns
The new DOFConnection.
Exceptions
NULLis returned if a connection could not be created.
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22