Apple Network Setup Network Card User Manual


 
CHAPTER 4
Network Setup Protocol Structures and Data Types
142 Protocol Structures
UInt8 pad;
FSSpec modemScript;
Boolean modemSpeakerOn;
Boolean modemPulseDial;
OTCfgModemDialogToneMode modemDialToneMode;
char lowerLayerName[kMaxProviderNameSize];
};
Field descriptions
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.
useModemScript Set useModemScript to TRUE to indicate that a modem script
is to be used.
pad A value that must be zero.
modemScript The modem script that is to be used; this field is ignored if
a modem script is not to be used.
modemSpeakerOn Set modemSpeakerOn to TRUE to indicate dialing with the
modem speaker on. Otherwise, set modemSpeakerOn to FALSE.
modemPulseDial Set modemPulseDial to TRUE to indicate pulse dialing.
Otherwise, set modemPulseDial to FALSE for tone dialing.
modemDialToneMode The dial tone mode that controls the way in which the
modem handles dial tone. For possible values, see the
OTCfgModemDialingToneMode (page 171) enumeration.
lowerLayerName The name of the underlying serial port in C string format.
The preference type for the OTCfgModemGeneral structure is
kOTCfgModemGeneralPrefs, which is defined as 'ccl '.
OTCfgModemApplication 4
The OTCfgModemApplication structure stores the current user mode setting and
the window position of the Modem control panel.