Sample Add-in Module Code

CSSM_DL_DB_HANDLE DLDBHandle,

CSSM_HANDLE ResultsHandle);

CSSM_RETURN DL_Initialize (

CSSM_MODULE_HANDLE AppHandle, uint32 VerMajor,

uint32 VerMinor);

CSSM_RETURN DL_Uninitialize (

CSSM_MODULE_HANDLE AppHandle);

CSSM_RETURN DL_Authenticate (CSSM_DL_DB_HANDLE DLDBHandle,

const CSSM_DB_ACCESS_TYPE_PTR AccessRequest,

const CSSM_USER_AUTHENTICATION_PTR UserAuthentication);

CSSM_RETURN DL_DbImport (CSSM_DL_HANDLE DLDBHandle, const char *DbDestinationName, const char *DbSourceName, const CSSM_DBINFO_PTR DBInfo, CSSM_BOOL InfoOnly,

const CSSM_USER_AUTHENTICATION_PTR UserAuthentication);

CSSM_RETURN DL_DbExport (CSSM_DL_HANDLE DLDBHandle,

const char *DbDestinationName,

const char *DbSourceName,

CSSM_BOOL InfoOnly,

const CSSM_USER_AUTHENTICATION_PTR UserAuthentication);

CSSM_RETURN DL_DbSetRecordParsingFunctions (CSSM_DL_HANDLE DLHandle,

const char* DbName,

88

Appendix C

Page 88
Image 88
HP UX Security Products and Features Software manual Sample Add-in Module Code