Synchronous C API Functions
Creating and Freeing Name-Value Records
The following functions are defined to create and free
■“hc_nvr_create” on page 65
■“hc_nvr_free” on page 66
hc_nvr_create
Creates a
Synopsis
hcerr_t hc_nvr_create(hc_session_t *session,
hc_long_t nslots,
hc_nvr_t **nvrp);
Description
This function creates a
Parameters
session
IN: The session with which this
nslots
IN: The number of slots for
nvrp
OUT: Updated with a pointer to a new
Return Codes
HCERR_OK
HCERR_ILLEGAL_ARGUMENT
HCERR_OOM
Chapter 3 • Sun StorageTek 5800 System C Client API | 65 |