Looks up type in schema.
hcerr_t hc_schema_get_type(hc_schema_t *schema, char *name, hc_type_t *typep);
This function looks up the type associated with a given name in the current metadata schema, or returns an error if the name is not known.
schema
IN: The schema to interrogate.
name
IN: The attribute name to look up in the schema.
typep
OUT: Updated to be the type associated with that name in the schema.
HCERR_OK HCERR_BAD_REQUEST HCERR_OOM HCERR_INVALID_SCHEMA HCERR_ILLEGAL_ARGUMENT