OTDestroyConfiguration
Deletes anOTConfigurationstructure.C INTERFACE
void OTDestroyConfiguration(OTConfiguration* cfig);C++ INTERFACES
None. C++ applications use the C interface to this function.PARAMETERS
cfig- A pointer to the
OTConfigurationstructure that you want to delete.DESCRIPTION
TheOTDestroyConfigurationfunction deletes theOTConfigurationstructure that you specify in thecfigparameter and releases all associated memory.SPECIAL CONSIDERATIONS
Functions that open providers delete theOTConfigurationstructure that they use. For this reason, most applications need not call theOTDestroyConfigurationfunction. You should call theOTDestroyConfigurationfunction only to delete anOTConfigurationstructure not used to open a provider.SEE ALSO
For more information about creating configuration structures, see the sections "About Provider Configurations" (page 6-3) and "Creating and Reusing Provider Configurations" (page 6-10).To create an
OTConfigurationstructure, call theOTCreateConfigurationfunction (page 6-27).To copy an
OTConfigurationstructure, call theOTCloneConfigurationfunction (page 6-29).