skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 1:... HP Open Source Security for OpenVMS Volume 1:...
go to beginning of reference: Elective Module Manager APIsElective Module Manager APIs
go to previous page: RefreshFunctionTableRefreshFunctionTable
go to next page: TerminateTerminate
end of book navigation links


RegisterDispatchTable
Parameters
Return Value
See Also
 Description
Errors

NAME

RegisterDispatchTable - Provide the EMM with CSSM function pointers

SYNOPSIS  

# include <cssm.h>

CSSM_RETURN CSSMAPI RegisterDispatchTable(CSSM_STATE_FUNCS_PTR CssmStateCallTable)


return to top PARAMETERS  

CssmStateCallTable (input)
 A table of function pointers for the set of CSSM-definedfunctions the elective module manager can use to query and controlthe state of an attach-session between an application and a serviceprovider managed by the module manager.


return to top DESCRIPTION  

This EMM-defined function is invoked by CSSM once for each CSSM_ModuleAttach(), operation requesting a service provider of the typemanaged by the EMM. CSSM uses this function to provide the EMM witha set of CSSM function pointers. The EMM invokes these functionsat anytime during the life cycle of the attach-session to obtaininformation about the current state and to modify the current stateof the attach session.

When the attach-session is terminated, CSSM informs the modulemanager by invoking the EMM function DeregisterDispatchTable(). The corresponding set of CSSM state functions becomeinvalid at that time.


return to top RETURN VALUE  

A CSSM_RETURN value indicating success or specifying a particularerror condition. The value CSSM_OK indicates success. All othervalues represent an error condition.


return to top ERRORS  

Errors are described in the CDSA Technical Standard.


return to top SEE ALSO  

Books

Intel CDSA Application Developer's Guide

Online Help

Functions: DeregisterDispatchTable


go to previous page: RefreshFunctionTableRefreshFunctionTable
go to next page: TerminateTerminate