Important: The information in this document is obsolete and should not be used for new development.
OTDestroyConfiguration
Disposes of anOTConfiguration
structure.C INTERFACE
void OTDestroyConfiguration(OTConfiguration* cfig);C++ INTERFACE
None. C++ applications use the C interface to this function.PARAMETERS
cfig
- A pointer to the
OTConfiguration
structure that you want to dispose of.DISCUSSION
TheOTDestroyConfiguration
function disposes of theOTConfiguration
structure that you specify in thecfig
parameter and releases all associated memory.Functions that open providers automatically disposes of the
OTConfiguration
structure that they use. For this reason, most applications need not call theOTDestroyConfiguration
function. You should call theOTDestroyConfiguration
function only to dispose of anOTConfiguration
structure that you have not actually used to open a provider.SEE ALSO
"Initiating and Closing Open Transport".The
OTCreateConfiguration
function.The
OTCloneConfiguration
function.