Synchronous C API Functions

See Also

“hc_nvr_free” on page 66

hc_nvr_free

Frees a name-value record.

Synopsis

hcerr_t hc_nvr_free(hc_nvr_t *nvr);

Description

This function frees a name-value record that was created by “hc_nvr_create” on page 65.

Parameter

nvr

IN: Points to the name-value-record to be freed.

Return Codes

HCERR_OK

HCERR_BAD_REQUEST

HCERR_OOM

HCERR_INVALID_NVR

See Also

“hc_nvr_create” on page 65

Building Name-Value Records

The following functions are defined to build name-value records:

“hc_nvr_add_value” on page 67

“hc_nvr_add_long” on page 68

“hc_nvr_add_double” on page 69

“hc_nvr_add_string” on page 70

“hc_nvr_add_binary” on page 71

“hc_nvr_add_date” on page 72

“hc_nvr_add_time” on page 73

66

Sun StorageTek 5800 System Client API Reference Manual • June 2008

Page 66
Image 66
Sun Microsystems 5800 manual Hcnvrfree, Building Name-Value Records