C H A P T E R 4

Network Setup Protocol Structures and Data Types

UInt32 tabChoice;

OTCfgUserMode32 fUserMode;

UInt32

fSetupVisible;

};

 

version

Must be 1 for Open Transport/PPP or 3 for ARA.

fWindowPosition

Global coordinates for the application’s window position.

tabChoice

Currently active tab in the Options dialog box. Use 1 for the

 

Redialing tab, 2 for the Connection tab, or 3 for the Protocol

 

tab.

fUserMode

The current user mode. See the OTCfgUserMode preference

 

(page 109) enumeration for possible values.

fSetupVisible

Set to 1 to display the set up or zero to hide it.

The preference type for this preference is kOTCfgRemoteApplicationPref, which is defined as 'capt'.

OTCfgRemoteARAP

The OTCfgRemoteARAP structure stores connection information used by the ARAP modules.

struct OTCfgRemoteARAP

{

 

UInt32

version;

char

lowerLayerName[kMaxProviderNameSize];

};

 

Field descriptions

version

Depending how the preference was constructed, version

 

may be kOTCfgRemoteDefaultVersion or

 

kOTCfgRemoteAcceptedVersion. When reading the version

 

field, accept either value. When writing the version field,

 

set it to kOTCfgRemoteDefaultVersion.

lowerLayerName

A C string containing the name of the underlying modem

 

port, which must be “Script”.

The preference type for this preference is kOTCfgRemoteARAPPref, which is defined as 'arap'.

124Protocol Structures

Page 124
Image 124
Apple Network Setup manual OTCfgRemoteARAP