*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> CSSM_ModuleUnload (3)              



NAME    [Toc]    [Back]

       CSSM_ModuleUnload  -  Deregister  event notification callbacks

SYNOPSIS    [Toc]    [Back]

       # include <cdsa/cssm.h>

       CSSM_RETURN  CSSMAPI  CSSM_ModuleUnload  (const  CSSM_GUID
       *ModuleGuid,   CSSM_API_ModuleEventHandler  AppNotifyCallback,
 void* AppNotifyCallbackCtx)

LIBRARY    [Toc]    [Back]

       Common Security Services Manager library (libcssm.so)

PARAMETERS    [Toc]    [Back]

       The GUID of the module selected for unloading.  The  event
       notification  function  to  be  deregistered. The function
       must  have  been  provided  by  the  caller  in  CSSM_ModuleLoad().
   The  event notification context that was provided
 in the corresponding call to CSSM_ModuleLoad().

DESCRIPTION    [Toc]    [Back]

       The function deregisters event notification callbacks  for
       the  caller  identified  by ModuleGuid. The CSSM_ModuleUnload()
 function is the analog call  to  CSSM_ModuleLoad().
       If  all  callbacks  registered with CSSM are removed, then
       CSSM unloads the service module that was loaded  by  calls
       to  CSSM_ModuleLoad().   Calls to CSSM_ModuleUnload() that
       are not matched with a previous call to  CSSM_ModuleLoad()
       result in an error.

       The  CSSM uses the three input parameters ModuleGuid, AppNotifyCallback,
 and AppNotifyCallbackCtx to uniquely identify
 registered callbacks.

       This  function should be invoked after all necessary calls
       to CSSM_ModuleDetach() have been performed.

RETURN VALUE    [Toc]    [Back]

       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    [Toc]    [Back]

       Errors are described in the CDSA technical standard.   See

SEE ALSO    [Toc]    [Back]

       Intel    CDSA    Application    Developer's   Guide   (see

[ Back ]
 Similar pages
Name OS Title
CSSM_SPI_ModuleUnload Tru64 Disable events and deregister CSSM event notification (CDSA)
EventNotifyManager Tru64 Receive an event notification (CDSA)
EvmConnRegistrationGet Tru64 Establishes a subscription for event notification
EvmConnTemplateScan Tru64 Establishes a subscription for event notification
EvmConnSubscribe Tru64 Establishes a subscription for event notification
kevent OpenBSD kernel event notification mechanism
kqueue FreeBSD kernel event notification mechanism
kevent FreeBSD kernel event notification mechanism
kqueue OpenBSD kernel event notification mechanism
CSSM_SPI_ModuleDetach Tru64 Notify service module of a context event (CDSA)
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service