Apple Network Setup manual Protocol Constants and Other Data Types, OTCfgIRGeneral

Models: Network Setup

1 184
Download 184 pages 5.56 Kb
Page 159
Image 159
OTCfgIRGeneral

C H A P T E R 4

Network Setup Protocol Structures and Data Types

OTCfgIRGeneral

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

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)

Protocol Constants and Other Data Types

159

Page 159
Image 159
Apple Network Setup manual Protocol Constants and Other Data Types, OTCfgIRGeneral