Apple Network Setup manual OTCfgTCPUnloadAttr

Models: Network Setup

1 184
Download 184 pages 5.56 Kb
Page 121
Image 121
OTCfgTCPUnloadAttr

C H A P T E R 4

Network Setup Protocol Structures and Data Types

struct OTCfgTCPSearchList {

UInt8 fPrimaryInterfaceIndex;

Str255 fLocalDomainName[256];

Str255 fAdmindomain[256];

};

Field descriptions

fPrimaryInterfaceIndex

A value that must be 1 in the current versions of Open Transport.

fLocalDomainName The local domain name in Pascal string format. You must unpack this field when you read this structure from the database and pack this file when you write this structure to the database.

fAdmindomain The administrative domain name in Pascal string format. You must unpack this field when you read this structure from the database and pack this file when you write this structure to the database.

The preference type for this preference is kOTCfgTCPSearchListPref, which is defined as 'ihst'.

OTCfgTCPUnloadAttr

The OTCfgTCPUnloadAttr enumeration defines values that indicate whether TCP/IP is loaded on demand, always loaded, or inactive. These values are used in the kOTCfgTCPUnloadAttrPref preference.

typedef UInt16 OTCfgTCPUnloadAttr enum {

kOTCfgTCPActiveLoadedOnDemand = 1, kOTCfgTCPActiveAlwaysLoaded = 2, kOTCfgTCPInactive = 3

};

Constant descriptions

kOTCfgTCPActiveLoadedOnDemand

TCP/IP is loaded when needed and unloaded when inactive for two minutes.

Protocol Structures

121

Page 121
Image 121
Apple Network Setup manual OTCfgTCPUnloadAttr