HP Open Source Security for OpenVMS Volume 1: Common Data Security Architecture > CDSA API Functions

DL_GetDbNames

 » Table of Contents

 » Glossary

 » Index

NAME

CSSM_DL_GetDbNames — Get list of logical data store names (CDSA)

SYNOPSIS

# include <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 (cdsa$incssm300_shr.exe)

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 deallocate 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.

None specific to this call.

SEE ALSO

Books

Intel CDSA Application Developer's Guide

Online Help

Functions for the CSSM API:

CSSM_DL_GetDbNameFromHandle, CSSM_DL_FreeNameList

Functions for the DL SPI:

DL_GetDbNameFromHandle, DL_FreeNameList