CSSM_SPI_ModuleDetach(3)CSSM_SPI_ModuleDetach(3)NAMECSSM_SPI_ModuleDetach - Notify service module of a context event (CDSA)
SYNOPSIS
# include <cdsa/cssm.h>
CSSM_RETURN CSSMSPI CSSM_SPI_ModuleDetach (CSSM_MODULE_HANDLE Module‐
Handle)
LIBRARY
Common Security Services Manager library (libcssm.so)
PARAMETERS
The CSSM_HANDLE value associated with the attach session being termi‐
nated by this function.
DESCRIPTION
This function is invoked by CSSM once for each invocation of CSSM_Mod‐
uleDetach() specifying the attach-session identified by ModuleHandle.
The function entry point for CSSM_SPI_ModuleDetach is included in the
module function table CSSM_MODULE_FUNCS returned to CSSM as output of a
successful CSSM_SPI_ModuleAttach.
The service module must perform all cleanup operations associated with
the specified attach handle.
RETURN VALUE
A CSSM_RETURN value indicating success or specifying a particular error
condition. The value CSSM_OK indicates success. All other values repre‐
sent 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_ModuleAttach(3), CSSM_SPI_ModuleUnload(3)CSSM_SPI_ModuleDetach(3)