C H A P T E R 3

Network Setup Reference

Set Entity Preference Types

The following enumeration defines preference types for set entities:

enum {

kOTCfgSetsStructPref= 'stru',

kOTCfgSetsVectorPref= 'vect',

};

Constant descriptions

kOTCfgSetsStructPrefPreference type for the CfgSetsStruct (page 101) structure.

kOTCfgSetsVectorPrefPreference type for the CfgSetsVector (page 103) structure.

Backward Compatibility Preference Types

The following enumeration defines per-connection backward compatibility preference types:

enum

{

kOTCfgCompatNamePref

=

'cnam',

kOTCfgCompatResourceNamePref

=

'resn',

};

These preferences are used by the Network Setup backward compatibility mechanism to ensure an accurate conversion between legacy preference files and the Network Setup database.

Global Backward Compatibility Preference Types

The following enumeration defines global backward compatibility preference types:

enum

{

kOTCfgCompatSelectedPref

=

'ccfg',

kOTCfgCompatResourceIDPref

=

'resi',

};

108Network Setup Constants

Page 108
Image 108
Apple Network Setup manual Set Entity Preference Types