Apple Network Setup manual OTCfgRemoteClientLocks, useVerboseLogLock, regUserOrGuestLock

Models: Network Setup

1 184
Download 184 pages 5.56 Kb
Page 125
Image 125
OTCfgRemoteClientLocks

C H A P T E R 4

Network Setup Protocol Structures and Data Types

OTCfgRemoteClientLocks

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.

Protocol Structures

125

Page 125
Image 125
Apple Network Setup manual OTCfgRemoteClientLocks, useVerboseLogLock, regUserOrGuestLock