Sample Add-in Module Code

}

 

/*

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

CSSM_DB_UNIQUE_RECORD_PTR DL_DataInsert (DLDBHandle, RecordType, Attributes,

 

Data)

 

CSSM_DL_DB_HANDLE DLDBHandle;

 

const CSSM_DB_RECORDTYPE RecordType;

 

const CSSM_DB_RECORD_ATTRIBUTE_DATA_PTR Attributes;

 

const CSSM_DATA_PTR Data;

{

 

 

printf(“in DL_DataInsert\n”);

 

return NULL;

}

 

/*

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

CSSM_RETURN DL_DataDelete (DLDBHandle, RecordType, UniqueRecordIdentifier)

CSSM_DL_DB_HANDLE DLDBHandle;

CSSM_DB_RECORDTYPE RecordType;

const CSSM_DB_UNIQUE_RECORD_PTR UniqueRecordIdentifier;

{

printf(“in DL_DataDelete\n”);

 

return CSSM_OK;

 

}

 

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

*/

CSSM_DB_UNIQUE_RECORD_PTR DL_DataGetFirst (DLDBHandle, Query, ResultsHandle,

 

EndOfDataStore, Attributes, Data)

CSSM_DL_DB_HANDLE DLDBHandle;

const CSSM_QUERY_PTR Query; CSSM_HANDLE_PTR ResultsHandle;

Appendix C

99

Page 99
Image 99
HP UX Security Products and Features Software manual Data