CSSM_SPI_ModuleUnload(3) — Subroutines
NAME
CSSM_SPI_ModuleUnload − Disable events and deregister CSSM event notification (CDSA)
SYNOPSIS
# include <cdsa/cssm.h>
CSSM_RETURN CSSMSPI CSSM_SPI_ModuleUnload
(const CSSM_GUID ∗CssmGuid,
const CSSM_GUID ∗ModuleGuid,
CSSM_SPI_ModuleEventHandler CssmNotifyCallback,
void∗ CssmNotifyCallbackCtx)
LIBRARY
Common Security Services Manager library (libcssm.so)
PARAMETERS
CssmGuid (input)
The CSSM_GUID of the caller.
ModuleGuid (input)
The CSSM_GUID of the invoked service provider module.
CssmNotifyCallback (input)
A function pointer for the CSSM event handler that manages events of type CSSM_MODULE_EVENT.
CssmNotifyCallbackCtx (input)
The context to be returned to CSSM as input on each callback to the event handler defined by CssmNotifyCallback.
DESCRIPTION
This function disables events and deregisters the CSSM event-notification function. The add-in service module can perform cleanup operations, reversing the initialization performed in CSSM_SPI_ModuleLoad().
RETURN VALUE
A CSSM_RETURN value indicating success or specifying a particular error condition. The value CSSM_OK indicates success. All other values represent an error condition.
ERRORS
Errors are described in the CDSA technical standard. See CDSA_intro(3).
SEE ALSO
Books
Intel CDSA Application Developer’s Guide (see CDSA_intro(3))
Reference Pages
Functions: CSSM_SPI_ModuleDetach(3), CSSM_SPI_ModuleLoad(3)