Apple Network Setup Network Card User Manual


 
CHAPTER 4
Network Setup Protocol Structures and Data Types
140 Protocol Structures
struct OTCfgRemoteUserMode {
UInt32 version;
OTCfgUserMode32 userMode;
Str255 adminPassword;
};
typedef struct OTCfgRemoteUserMode OTCfgRemoteUserMode;
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.
userMode Current user mode. See the OTCfgUserMode preference
(page 109) enumeration for possible values.
adminPassword The administration password. The format is not
documented.
The preference type for this preference is kOTCfgRemoteUserModePref, which is
defined as 'usmd'.
OTCfgRemoteX25 4
The OTCfgRemoteX25 structure stores X.25 connection information.
struct OTCfgRemoteX25 {
UInt32 version;
UInt32 fType;
UInt32 additionalPtr;
FSSpec script;
UInt8 address[256];
UInt8 userName[256];
UInt8 closedUserGroup[5];
Boolean reverseCharge;
};
version
Depending how the preference was constructed, version
may be kOTCfgRemoteDefaultVersion or
kOTCfgRemoteAcceptedVersion. When reading the version