Otcfgirgeneral, Protocol constants and other data types, Protocol constants and other data types 4 – Apple Network Setup User Manual

Page 159

Advertising
background image

C H A P T E R 4

Network Setup Protocol Structures and Data Types

Protocol Constants and Other Data Types

159

OTCfgIRGeneral

4

The

OTCfgIRGeneral

structure stores per-connection infrared settings.

struct OTCfgIRGeneral

{

UInt32

fVersion;

OTPortRef

fPortRef;

OTCfgIRPortSettingfPortSetting;

Boolean

fNotifyOnDisconnect;

Boolean

fDisplayIRControlStrip;

};

Field descriptions

fVersion

Must be zero.

fPortRef

Reference to the infrared port.

OTCfgIRPortSetting

A value that specifies the infrared protocol. For possible
values, see the

OTCfgIRPortSetting

(page 174) enumeration.

fNotifyOnDisconnect

TRUE

if the user is to be notified when the IrDA protocol

disconnects; otherwise,

FALSE

.

fDisplayIRControlStrip

TRUE

if the Infrared control strip is to be displayed;

otherwise,

FALSE

.

The preference type for the

OTCfgIRGeneral

structure is

kOTCfgIRGeneralPref

,

which is defined as

'atpf'

.

Protocol Constants and Other Data Types

4

The following sections describe constants and other data types that are defined
for the protocols that use Network Setup:

“TCP/IP Constants and Other Data Types” (page 160)

“Apple Remote Access Constants and Other Data Types” (page 163)

“Modem Constants and Other Data Types” (page 170)

Advertising