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

  man pages->Tru64 Unix man pages -> cssm_GetAttachFunctions (3)              
Title
Content
Arch
Section
 

cssm_GetAttachFunctions(3)

Contents


NAME    [Toc]    [Back]

       cssm_GetAttachFunctions - Get SPI function table (CDSA)

SYNOPSIS    [Toc]    [Back]

       # include <cdsa/cssm.h>

       CSSM_RETURN   CSSMAPI  cssm_GetAttachFunctions  (CSSM_MODULE_HANDLE
  hAddIn,  CSSM_SERVICE_MASK   AddinType,   void
       **SPFunctions, CSSM_GUID_PTR Guid)

LIBRARY    [Toc]    [Back]

       Common Security Services Manager library (libcssm.so)

PARAMETERS    [Toc]    [Back]

       The  handle  identifying the attach-session whose function
       table is to be returned by  this  function.   A  CSSM_SERVICE_MASK
  value  identifying  the  type of service module
       whose function table is to be returned by  this  function.
       A pointer to the service module function table, which CSSM
       acquired from the service module during module-attach processing.
  The module manager should use this table to forward
 application invocation of the elective APIs to  their
       corresponding  SPIs. The memory pointed to by the function
       pointers should not be freed  by  the  EMM.   A  CSSM_GUID
       value  identifying the service module whose function table
       is to be returned by this function.

DESCRIPTION    [Toc]    [Back]

       This function returns an SPI function table for  the  service
  module  identified  by the module handle. The module
       must be of the type specified by  the  service  mask.  The
       SPFunctions   parameter  contains  the  returned  function
       table. The elective module manager must use this  function
       table  to  forward  an  application's call to the elective
       APIs to their corresponding SPIs represented in the  function
  table. The returned Guid identifies the service module.
 It can be used to locate credentials and other information
 about the service module.

       This  function  sets a lock on the SP functions table. The
       CSSM service function  cssm_ReleaseAttachFunctions()  must
       be used to release the lock.

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
       CDSA_intro(3).

SEE ALSO    [Toc]    [Back]

      
      
       Books

       Intel   CDSA   Application    Developer's    Guide    (see
       CDSA_intro(3))

       Reference Pages    [Toc]    [Back]




                                       cssm_GetAttachFunctions(3)
[ Back ]
 Similar pages
Name OS Title
cssm_ReleaseAttachFunctions Tru64 Release lock on the SP function table (CDSA)
XmRenderTableCvtFromProp HP-UX A render table function that converts from a string representation to a render table
XmRenderTableCvtToProp HP-UX A render table function that converts a render table to a string representation
XmRenderTableCopy HP-UX A render table function that copies renditions
XmRenderTableFree HP-UX A render table function that recovers memory
CSSM_GetAPIMemoryFunctions Tru64 Retrieve the memory function table associated with the security service module
XmStringTableParseStringArray HP-UX A convenience function that converts an array of strings to a compound string table
XmStringTableUnparse HP-UX A convenience function that converts a table of compound strings to an array of text
XmRemoveProtocols HP-UX A VendorShell function that removes the protocols from the protocol manager and deallocates the internal table
cvt_fun_tbl IRIX Function key conversion table of Input Manager of the X Window System Version 11 (xwnmo(1X))
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service