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 22 - Endpoints Reference / Constants and Data Types


Structure Types

The OTAlloc function allocates a data structure that you specify using one of the constant names given by the structure types enumeration:

typedef UInt32 OTStructType

enum {
      T_BIND         = 1,
      T_OPTMGMT      = 2,
      T_CALL         = 3,
      T_DIS          = 4,
      T_UNITDATA     = 5,
      T_UDERROR      = 6,
      T_INFO         = 7,
      T_REPLYDATA    = 8,
      T_REQUESTDATA  = 9,
      T_UNITREQUEST  = 10,
      T_UNITREPLY    = 11
};
Constant descriptions

T_BIND
Specifies the TBind structure .
T_OPTMGMT
Specifies the TOptMgmt structure .
T_CALL
Specifies the TCall structure .
T_DIS
Specifies the TDiscon structure .
T_UNITDATA
Specifies the TUnitData structure .
T_UDERROR
Specifies the TUDError structure .
T_INFO
Specifies the TEndpointInfo structure .
T_REPLYDATA
Specifies the TReply structure .
T_REQUESTDATA
Specifies the TRequest structure .
T_UNITREQUEST
Specifies the TUnitRequest structure .
T_UNITREPLY
Specifies the TUnitReply structure .

Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 JAN 1998