Sun StorageTek 5800 System Client API Reference Guide

hc_schema_get_count

Returns the number of name-value pairs in the metadata schema.

Synopsis

     hcerr_t hc_schema_get_count(hc_schema_t *hsp, 
          hc_long_t *countp);

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