Important: The information in this document is obsolete and should not be used for new development.
OTCloneConfiguration
Copies anOTConfigurationstructure.C INTERFACE
OTConfiguration* OTCloneConfiguration(OTConfiguration* cfig);C++ INTERFACE
None. C++ applications use the C interface to this function.PARAMETERS
cfig- A pointer to the
OTConfigurationstructure that you want to copy.- function result
- A pointer to a private
OTConfigurationstructure.DISCUSSION
TheOTCloneConfigurationfunction copies theOTConfigurationstructure that you specify in thecfigparameter and returns a pointer to the copy. Because the format of anOTConfigurationstructure is private, you must use theOTCloneConfigurationfunction to obtain two identical structures. Creating configurations through cloning is much faster than recreating them using theOTCreateConfigurationfunction.SEE ALSO
"Initiating and Closing Open Transport".The
OTCreateConfigurationfunction.The
OTDestroyConfigurationfunction.