Iterates through the name-value pairs in a schema.
hcerr_t hc_schema_get_type_at_index (hc_schema_t *hsp, hc_long_t index,char **namep, hc_type_t *typep);
This function provides a simple way to iterate through the name-value pairs in a schema.
hsp
IN: The schema to query.
index
IN: Should range from 0 up to the count-1 returned in hc_schema_get_count.
namep
OUT: Updated to point to a string that is an attribute name of one attribute in the schema.
typep
OUT: Updated to be the type associated with that name in the schema. If the server schema references a type that the client library does not support, then the type is returned as HC_UNKNOWN_TYPE.
HCERR_OK HCERR_BAD_REQUEST HCERR_OOM HCERR_INVALID_SCHEMA HCERR_ILLEGAL_ARGUMENT