Apple Network Setup Network Card User Manual


 
CHAPTER 3
Network Setup Reference
106 Network Setup Constants
Constant descriptions
kCfgClassAnyEntity Matches the class type for any entity. This constant is
typically used when calling OTCfgGetEntitiesCount
(page 73) and OTCfgGetEntitiesList (page 74).
kCfgClassUnknownEntityDoes not match the class type for any entity. Use this
constant as a “NULL” equivalent.
kCfgTypeAnyEntity Matches the type for any entity. This constant is typically
used when calling OTCfgGetEntitiesCount (page 73) and
OTCfgGetEntitiesList (page 74).
kCfgTypeUnknownEntityDoes not match the entity type for any entity. Use this
constant as a “NULL” equivalent.
Common Preference Types 3
This section describes preferences that are used by many different protocols. For
protocol-specific preferences, see Chapter 4, “Network Setup Protocol
Structures and Data Types.”
Per-connection Preference Types 3
The following enumeration defines per-connection preference types:
enum
{
kOTCfgUserVisibleNamePref = 'pnam',
kOTCfgVersionPref = 'cvrs',
kOTCfgPortUserVisibleNamePref = 'port',
kOTCfgProtocolUserVisibleNamePref = 'prot',
kOTCfgAdminPasswordPref = 'pwrd',
kOTCfgProtocolOptionsPref = 'opts',
kCfgFreePref = ‘free
};
Constant descriptions
kOTCfgUserVisibleNamePref
Each connection entity has a preference of this type that
contains the user-visible name of the entity as a Pascal
string