DL_GetDbNames(3) — Subroutines
NAME
DL_GetDbNames, CSSM_DL_GetDbNames − Get list of logical data store names (CDSA)
SYNOPSIS
# include <cdsa/cssm.h>
API:
CSSM_RETURN CSSMAPI CSSM_DL_GetDbNames
(CSSM_DL_HANDLE DLHandle,
CSSM_NAME_LIST_PTR ∗NameList)
SPI:
CSSM_RETURN CSSMDLI DL_GetDbNames
(CSSM_DL_HANDLE DLHandle,
CSSM_NAME_LIST_PTR ∗NameList)
LIBRARY
Common Security Services Manager library (libcssm.so)
PARAMETERS
DLHandle (input)
The handle that describes the add-in data storage library module to be used to perform this function.
NameList (output)
Returns a list of data store names in a CSSM_NAME_LIST_PTR structure.
DESCRIPTION
This function returns the list of logical data store names for all data stores that are known by and accessible to the specified DL module. This list also includes the number of data store names in the return list.
The CSSM_DL_FreeNameList() function must be called to de-allocate memory containing the list.
RETURN VALUE
A CSSM_RETURN value indicating success or specifying a particular error condition. The value CSSM_OK indicates success. All other values represent an error condition.
ERRORS
Errors are described in the CDSA technical standard. See CDSA_intro(3).
None specific to this call.
SEE ALSO
Books
Intel CDSA Application Developer’s Guide (see CDSA_intro(3))
Reference Pages
Functions for the CSSM API:
CSSM_DL_GetDbNameFromHandle(3), CSSM_DL_FreeNameList(3)
Functions for the DL SPI: