Sample Add-in Module Code

#endif

#if defined(__STDC__) defined(__cplusplus)

CSSM_DB_HANDLE DL_DbOpen (

CSSM_DL_HANDLE DLHandle, const char *DbName,

const CSSM_DB_ACCESS_TYPE_PTR AccessRequest,

const CSSM_USER_AUTHENTICATION_PTR UserAuthentication, const void *OpenParameters);

CSSM_RETURN DL_DbClose (CSSM_DL_DB_HANDLE DLDBHandle);

CSSM_DB_HANDLE DL_DbCreate ( CSSM_DL_HANDLE DLHandle, const char *DbName,

const CSSM_DBINFO_PTR DbInfo,

const CSSM_DB_ACCESS_TYPE_PTR AccessRequest,

const CSSM_USER_AUTHENTICATION_PTR UserAuthentication, const void *OpenParameters);

CSSM_RETURN DL_DbDelete (

CSSM_DL_HANDLE DLHandle, const char *DbName,

const CSSM_USER_AUTHENTICATION_PTR UserAuthentication);

char * DL_GetDbNameFromHandle (CSSM_DL_DB_HANDLE DLDBHandle);

CSSM_DB_UNIQUE_RECORD_PTR DL_DataInsert (

86

Appendix C

Page 86
Image 86
HP UX Security Products and Features Software manual Appendix C