Apple Network Setup Network Card User Manual


 
CHAPTER 4
Network Setup Protocol Structures and Data Types
Protocol Structures 135
OTCfgRemoteLogOptions 4
The OTCfgRemoteLogOptions structure controls the level of logging performed by
ARA.
struct OTCfgRemoteLogOptions {
UInt32 version;
UInt32 fType;
UInt32 additionalPtr;
OTCfgRemoteLogLevel logLevel;
UInt32 reserved[4];
};
typedef struct OTCfgRemoteLogOptions OTCfgRemoteLogOptions;
version
Depending how the preference was constructed, version
may be kOTCfgRemoteDefaultVersion or
kOTCfgRemoteAcceptedVersion. When reading the version
field, accept either value. When writing the version field,
set it to kOTCfgRemoteDefaultVersion.
fType Must be ‘lgop’.
additional Run-time use only. Initialize to zero. When reading, ignore
the value of additionalPtr. When writing additionalPtr,
preserve its value.
logLevel The log level. For possible values, see the
OTCfgRemoteLogLevel (page 168) enumeration.
reserved Reserved.
The preference type for this preference is kOTCfgRemoteLogOptionsPref, which is
defined as 'logo'.
OTCfgRemotePassword 4
The OTCfgRemotePassword structure holds the user’s dialup password in
encrypted form. For sample code, see Listing 2-17 in Chapter 2, “Using
Network Setup.”