■
“hc_schema_get_type_at_index” on page 62
hc_schema_get_type
Looks up type in schema.
Synopsis
hcerr_t hc_schema_get_type(hc_schema_t *schema,
char *name, hc_type_t *typep);
Description
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.
Parameters
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.
Return Codes
HCERR_OK
HCERR_BAD_REQUEST
HCERR_OOM
HCERR_INVALID_SCHEMA
HCERR_ILLEGAL_ARGUMENT
SynchronousCAPI Functions
SunStorageTek 5800SystemClientAPIReferenceManual • June 200860