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 /


OTCloneConfiguration

Copies an OTConfiguration structure.

C INTERFACE
OTConfiguration* OTCloneConfiguration(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 copy.
function result
A pointer to a private OTConfiguration structure.
DISCUSSION
The OTCloneConfiguration function copies the OTConfiguration structure that you specify in the cfig parameter and returns a pointer to the copy. Because the format of an OTConfiguration structure is private, you must use the OTCloneConfiguration function to obtain two identical structures. Creating configurations through cloning is much faster than recreating them using the OTCreateConfiguration function.

SEE ALSO
"Initiating and Closing Open Transport".

The OTCreateConfiguration function.

The OTDestroyConfiguration function.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998