OpenDOF Project
DOFCredentials DOFCredentials_Create ( DOFCredentials  creds,
DOFObjectIDDomain  domainID 
)

Creates a new credentials that will use the given credentials for resolution in the given domain.

Parameters
credsThe base credentials
domainIDThe domain. If unknown, use DOFOBJECTIDDOMAIN_BROADCAST. This should not be NULL.
Returns
DOFCredentials A newly created DOFCredentials
Exceptions
NULLis returned if an invalid parameter was detected, or the credentials could not be created.
Resource Management:
This function allocates resources that must later be freed by calling DOFCredentials_Destroy.
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22