Description
Thisfunction returns the number of name-value pairs in the metadata schema.
Parameters
hsp
IN:The schema to interrogate.
countp
OUT:Updated with the number of name-value pairs in the schema.
ReturnCodes
HCERR_OK
HCERR_BAD_REQUEST
HCERR_OOM
HCERR_INVALID_SCHEMA
SeeAlso
hc_schema_get_type_at_index”on page 62
hc_schema_get_type_at_index
Iteratesthrough the name-value pairs in a schema.
Synopsis
hcerr_t hc_schema_get_type_at_index (hc_schema_t *hsp,
hc_long_t index,char **namep,
hc_type_t *typep);
Description
Thisfunction provides a simple way to iterate through the name-value pairs in a schema.
Parameters
hsp
IN:The schema to query.
index
SynchronousCAPI Functions
SunStorageTek5800 System Client API Reference Manual • June 200862