C H A P T E R 4

Network Setup Protocol Structures and Data Types

 

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

 

set it to kOTCfgRemoteDefaultVersion.

fType

Must be zero for standard dial-up connections.

additionalPtr

Must be zero for standard dial-up connections.

script

Must be zero for standard dial-up connections.

address

Must be zero for standard dial-up connections.

userName

Must be zero for standard dial-up connections.

closedUserGroup

Must be zero for standard dial-up connections.

reverseCharge

Must be zero for standard dial-up connections.

The preference type for this preference is kOTCfgRemoteX25Pref, which is defined as 'x25 '.

IMPORTANT

Using Network Setup to configure X.25 connections is not supported. ▲

Modem Structures

This section describes structures that store Modem control panel settings. The structures are

■OTCfgModemGeneral (page 141) stores per-connection modem preferences.

■OTCfgModemApplication (page 142) stores the current user mode setting and the window position of the Modem control panel.

■OTCfgModemLocks (page 143) stores the lock settings for the Modem control panel.

OTCfgModemGeneral

The OTCfgModemGeneral structure stores most of the per-connection modem preferences.

struct OTCfgModemGeneral

{

UInt32version;

BooleanuseModemScript;

Protocol Structures

141

Page 141
Image 141
Apple Network Setup manual Modem Structures, OTCfgModemGeneral, Must be zero for standard dial-up connections, 141