Apple Network Setup User Manual

Page 128

Advertising
background image

C H A P T E R 4

Network Setup Protocol Structures and Data Types

128

Protocol Structures

UInt32

showStatus;

UInt32

passwordSaved;

UInt32

flashConnectedIcon;

UInt32

issueConnectedReminders;

SInt32

reminderMinutes;

UInt32

connectManually;

UInt32

allowModemDataCompression;

OTCfgRemotePPPConnectScript chatMode;

OTCfgRemoteProtocol

serialProtocolMode;

UInt32

passwordPtr;

UInt32

userNamePtr;

UInt32

addressLength;

UInt32 *

addressPtr;

Str63

chatScriptName;

UInt32

chatScriptLength;

UInt32

chatScriptPtr;

UInt32

additional;

UInt32

useSecurityModule;

OSType

securitySignature;

UInt32

securityDataLength;

UInt32

securityDataPtr;

};

typedef struct OTCfgRemoteConnect OTCfgRemoteConnect;

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

.

fType

Must be zero.

isGuest

Set to zero if the user is a registered user; set to 1 if the user
is to log on as Guest.

canInteract

Must be 1.

showStatus

Must be zero.

passwordSaved

Set to 1 to use the password preference
(

kOTCfgRemotePasswordPref

) or set to zero to prompt the

user for a password.

Advertising