Sample Add-in Module Code
CSSM_DB_HANDLE DL_DbCreate (DLHandle, DbName, DbInfo, AccessRequest,
UserAuthentication, OpenParameters)
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; |
|
{ |
|
printf(“in DL_DbCreate\n”); |
|
return( NULL ); |
|
} |
|
*/ | |
CSSM_RETURN DL_DbDelete (DLHandle, DbName, UserAuthentication) |
|
CSSM_DL_HANDLE DLHandle; |
|
const char *DbName; |
|
const CSSM_USER_AUTHENTICATION_PTR UserAuthentication; |
|
{ |
|
printf(“in DL_DbDelete\n”); |
|
return CSSM_OK; |
|
} |
|
*/ | |
char * DL_GetDbNameFromHandle (DLDBHandle) |
|
CSSM_DL_DB_HANDLE DLDBHandle; |
|
{ |
|
printf(“in DL_GetDbNameFromHandle\n”); |
|
return NULL; |
|
98 | Appendix C |