Otcfgremoteterminal – Apple Network Setup User Manual

Page 138

Advertising
background image

C H A P T E R 4

Network Setup Protocol Structures and Data Types

138

Protocol Structures

serialProtoFlags

Serial protocol flags. For possible values, see the

OTCfgRemoteProtocol

(page 167)

.

networkProtoFlags

Network protocol flags. For possible values, see the

OTCfgRemoteNetworkProtocol

(page 169) enumeration.

netAccessMode

Access mode flags. For possible values, see the

OTCfgRemoteNetAccessMode

(page 170) enumeration.

requiresCCL

Must be

TRUE

.

portName

C string containing the name of the underlying port.Must
the empty string for the personal server.

serialLayerName

C string containing the Open Transport name of the serial
port.

localIPAddress

IP address to offer to the client.

The preference type for

OTCfgRemoteServerPort

is

kOTCfgRemoteServerPortPref

,

which is defined as

'port'

.

OTCfgRemoteTerminal

4

The

OTCfgRemoteTerminal

structure stores information used by the PPP terminal

window.

struct OTCfgRemoteTerminal {

UInt32

fVersion;

Boolean

fLocalEcho;

Boolean

fNonModal;

Boolean

fPowerUser;

Boolean

fQuitWhenPPPStarts;

Boolean

fDontAskVarStr;

Boolean

fNoVarStrReplace;

Boolean

fLFAfterCR;

Boolean

fAskToSaveOnQuit;

Rect

fWindowRect;

Style

fTypedCharStyle;

Style

fPrintedCharStyle;

Style

fEchoedCharStyle;

UInt8

pad;

SInt16

fFontSize;

Advertising