Global preference types – Apple Network Setup User Manual

Page 107

Advertising
background image

C H A P T E R 3

Network Setup Reference

Network Setup Constants

107

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

3

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.

Advertising