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 /


The OTConfiguration Structure

Open Transport functions that open a provider take as a parameter a pointer to a configuration structure that specifies the configuration of that provider. For example, the configuration structure of an endpoint specifies which protocol modules the endpoint uses. To create a configuration structure and obtain a pointer to it, you call the function OTCreateConfiguration. To make a copy of a configuration structure, you call the function OTCloneConfiguration.

The contents of the OTConfiguration structure are private and so is the OTConfiguration data type that defines it.

struct OTConfiguration;
typedef struct OTConfiguration OTConfiguration;
See "Error Constants" for values that can be returned if the configuration was not successful.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998