Important: The information in this document is obsolete and should not be used for new development.
The OTConfiguration Structure
Open Transport functions that open a provider take as a parameter a pointer to a configuration structure that specifies the configuration of that provider. For example, the configuration structure of an endpoint specifies which protocol modules the endpoint uses. To create a configuration structure and obtain a pointer to it, you call the functionOTCreateConfiguration
. To make a copy of a configuration structure, you call the functionOTCloneConfiguration
.The contents of the
OTConfiguration
structure are private and so is theOTConfiguration
data type that defines it.
struct OTConfiguration; typedef struct OTConfiguration OTConfiguration;See "Error Constants" for values that can be returned if the configuration was not successful.