Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Networking With Open Transport / Part 2 - Open Transport Reference
Chapter 20 - Initializing and Closing Open Transport Reference / Functions
Creating, Cloning, and Disposing of a Configuration Structure /


OTDestroyConfiguration

Disposes of an OTConfiguration 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
The OTDestroyConfiguration function disposes of the OTConfiguration structure that you specify in the cfig 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 the OTDestroyConfiguration function. You should call the OTDestroyConfiguration function only to dispose of an OTConfiguration structure that you have not actually used to open a provider.

SEE ALSO
"Initiating and Closing Open Transport".

The OTCreateConfiguration function.

The OTCloneConfiguration function.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998