Sample Add-in Module Code

/*---------------------------------------------------------------------------

*/

CSSM_RETURN DL_DataAbortQuery (DLDBHandle, ResultsHandle)

 

CSSM_DL_DB_HANDLE DLDBHandle;

 

CSSM_HANDLE ResultsHandle;

 

{

 

printf(“in DL_DataAbortQuery\n”);

 

return CSSM_OK;

 

}

 

/*---------------------------------------------------------------------------

*/

CSSM_RETURN DL_Authenticate (DLDBHandle, AccessRequest, UserAuthentication)

 

CSSM_DL_DB_HANDLE DLDBHandle;

 

const CSSM_DB_ACCESS_TYPE_PTR AccessRequest;

 

const CSSM_USER_AUTHENTICATION_PTR UserAuthentication;

 

{

 

printf(“in DL_Authenticate\n”);

 

return CSSM_OK;

 

}

 

/*---------------------------------------------------------------------------

*/

CSSM_RETURN DL_DbImport (DLDBHandle, DbDestinationName, DbSourceName,

 

DBInfo, InfoOnly, UserAuthentication)

 

CSSM_DL_HANDLE DLDBHandle;

 

const char *DbDestinationName;

 

const char *DbSourceName;

 

const CSSM_DBINFO_PTR DBInfo;

 

CSSM_BOOL InfoOnly;

 

const CSSM_USER_AUTHENTICATION_PTR UserAuthentication;

 

{

 

Appendix C

101

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