Apple Network Setup manual OTCfgRemoteDialAssist

Models: Network Setup

1 184
Download 184 pages 5.56 Kb
Page 130
Image 130
OTCfgRemoteDialAssist

C H A P T E R 4

Network Setup Protocol Structures and Data Types

securityDataLength Must be zero.

securityData

Must be zero.

The preference type for OTCfgRemoteConnect is kOTCfgRemoteConnectPref, which is defined as 'conn'.

OTCfgRemoteDialAssist

The OTCfgRemoteDialAssist structure stores area and country code information used by the Dial Assist facility.

struct OTCfgRemoteDialAssist {

UInt32

version;

UInt32

isAssisted;

Str31

areaCodeStr;

Str31

countryCodeStr;

};

 

typedef struct OTCfgRemoteDialAssist

OTCfgRemoteDialAssist;;

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.

isAssisted

Set isAssisted to zero for no assistance (the default); set

 

isAssisted to 1 to use Dial Assist. When isAssisted is set to

 

zero, areaCodeStr and countryCodeStr are ignored.

areaCodeStr

A string containing an area code that is to be dialed as part

 

of the sequence for making a connection.

countryCodeStr

A string containing a country code that is to be dialed as

 

part of the sequence for making a connection.

The preference type for this preference is kOTCfgRemoteDialAssistPref, which is defined as 'dass'.

130Protocol Structures

Page 130
Image 130
Apple Network Setup manual OTCfgRemoteDialAssist, isAssisted to 1 to use Dial Assist. When isAssisted is set to