Otcfgremoteclientlocks – Apple Network Setup User Manual

Page 125

Advertising
background image

C H A P T E R 4

Network Setup Protocol Structures and Data Types

Protocol Structures

125

OTCfgRemoteClientLocks

4

The

OTCfgRemoteClientLocks

structure stores information about preferences that

have been locked by the administration mode of the control panel.

struct OTCfgRemoteClientLocks

{

UInt32 version;

UInt32 name;

UInt32 password;

UInt32 number;

UInt32 errorCheck;

UInt32 headerCompress;

UInt32 termWindow;

UInt32 reminder;

UInt32 autoConn;

UInt32 redial;

UInt32 useProtocolLock;

UInt32 useVerboseLogLock;

UInt32 regUserOrGuestLock;

UInt32 dialAssistLock;

UInt32 savePasswordLock;

UInt32 reserved[2];

};

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

.

name

The Name field in the control panel is locked when the

name

field is set to 1 and unlocked when the

name

field is set to

zero.

password

The Password field in the control panel is locked when the

password

field is set to 1 and unlocked when the

password

field is set to zero.

number

The Number field in the control panel is locked when the

number

field is set to 1 and unlocked when the

number

field

is set to zero.

Advertising