Description
This function 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.
Return Codes
HCERR_OK
HCERR_BAD_REQUEST
HCERR_OOM
HCERR_INVALID_SCHEMA
See Also
“hc_schema_get_type_at_index” on page 62
hc_schema_get_type_at_index
Iterates through 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
This function provides a simple way to iterate through the name-value pairs in a schema.
Parameters
hsp
IN: The schema to query.
index
SynchronousCAPI Functions
SunStorageTek 5800SystemClientAPIReferenceManual • June 200862