Sun StorageTek 5800 System Client API Reference Manual

hc_nvr_get_count

Retrieves the number of metadata name and value tuples in this name-value record.

Synopsis

     hcerr_t hc_nvr_get_count(hc_nvr_t *nvr, 
          hc_long_t *retcount);

Description

This function retrieves the number of metadata name and value tuples in the specified name-value record.

Parameters

nvr

IN: Points to a name-value-record.

retcount

OUT: Updated to contain the count of name-value pairs.

Return Codes

     HCERR_OK
     HCERR_BAD_REQUEST
     HCERR_OOM
     HCERR_INVALID_NVR