C H A P T E R 3

Network Setup Reference

fElements

An unbounded array consisting of the number of

 

CfgSetsElement (page 103) structures specified by fCount.

 

All of the entities in this array are considered to be part of

 

the set.

The preference type for the CfgSetsVector structure is kOTCfgSetsVectorPref, which is defined as 'vect'.

Network Setup Constants

The following sections describe the Network Setup constants:

“Entity Classes and Types” (page 104)

“Common Preference Types” (page 106)

Entity Classes and Types

Network Setup can distinguish between several classes of entities and several types within each class. Using classes allows you to store different types of information in the same database. Third-party developers can define additional entity classes and types. If you define an entity class or type, it should be unique and registered with Developer Technical Support (DTS).

The following enumeration defines constants for the classes and types for the entities defined by Apple Computer:

enum {

 

kOTCfgClassNetworkConnection

= 'otnc',

kOTCfgClassGlobalSettings

= 'otgl',

kOTCfgClassServer

= ‘otsv’,

kOTCfgTypeGeneric

= 'otan',

kOTCfgTypeAppleTalk

= 'atlk',

kOTCfgTypeTCPv4

= 'tcp4',

kOTCfgTypeTCPv6

= 'tcp6',

kOTCfgTypeDNS

= ‘dns ‘,

kOTCfgTypeRemote

= 'ara ',

kOTCfgTypeDial

= 'dial',

kOTCfgTypeModem

= 'modm',

kOTCfgTypeInfrared

= 'infr',

104Network Setup Constants

Page 104
Image 104
Apple manual Network Setup Constants, Entity Classes and Types