Apple Network Setup Network Card User Manual


 
CHAPTER 3
Network Setup Reference
94 Network Setup Functions
key On input, a pointer to a Pascal string containing the encryption
key. Usually the encryption key is a user name.
data On input, a pointer to an array of bytes containing data that was
previously encrypted by OTCfgEncrypt (page 93). On output,
data contains the decrypted data.
dataLen On input, a value of type SInt16 that specifies the length of data.
function result The length in bytes of the decrypted data.
DISCUSSION
The OTCfgDecrypt function decrypts the contents of the data parameter using
the key specified by the key parameter.
Note
The OTCCfgDecrypt function is available in Network Setup
version 1.1 and later.
Installing and Removing a Notification Callback 3
You can use the following functions to install and remove a notification
callback:
OTCfgInstallNotifier (page 94) installs a notification callback.
OTCfgRemoveNotifier (page 96) removes a notification callback.
OTCfgInstallNotifier 3
Installs a notification callback.
OSStatus OTCfgInstallNotifier (CfgDatabaseRef dbRef.
CfgEntityClass theClass,
CfgEntityType theType,
OTNotifyProcPtr notifier,
void* contextPtr);