Apple Network Setup manual Global Preference Types

Models: Network Setup

1 184
Download 184 pages 5.56 Kb
Page 107
Image 107
Global Preference Types

C H A P T E R 3

Network Setup Reference

kOTCfgVersionPref Some protocols store the version of the protocol in this preference. Typically, this preference is a UInt16 whose value is 1.

kOTCfgPortUserVisibleNamePref

Some protocols use this preference to store the user-visible name of the port over which the protocol is running as a Pascal string.

kOTCfgProtocoltUserVisibleNamePref

Some protocols store a user-visible description of the protocol in this preference as a C string. For TCP/IP the value of this preference is “tcp”. For AppleTalk, the value of this preference is “ddp”.

kOTCfgAdminPasswordPref

This preference is not documented.

kOTCfgProtocolOptionsPref

Many protocols use this preference (a UInt32) to store protocol-specific flags.

kCfgFreePref

A dummy preference type used for free blocks in an entity.

Global Preference Types

The following enumeration defines global preference types:

enum

{

kOTCfgUserModePref

=

'ulvl',

kOTCfgPrefWindowPositionPref

=

'wpos',

};

Constant descriptions

kOTCfgUserModePref Preference type for the user mode preference for TCP/IP and AppleTalk only.

kOTCfgPrefWindowPositionPref

Preference type for the location (in global coordinates) of the control panel window for TCP/IP, AppleTalk, and Infrared.

Network Setup Constants

107

Page 107
Image 107
Apple Network Setup manual Global Preference Types