Otcfgremotedialassist – Apple Network Setup User Manual

Page 130

Advertising
background image

C H A P T E R 4

Network Setup Protocol Structures and Data Types

130

Protocol Structures

securityDataLength

Must be zero.

securityData

Must be zero.

The preference type for

OTCfgRemoteConnect

is

kOTCfgRemoteConnectPref

, which

is defined as

'conn'

.

OTCfgRemoteDialAssist

4

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'

.

Advertising