Sun Microsystems 5800 User Manual

Page of 136
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
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
Synchronous C API Functions
Sun StorageTek 5800 System Client API Reference Manual • June 2008
62