hc_schema_get_length
Looksup length of char andstring attributeelds.
Synopsis
hcerr_t hc_schema_get_length(hc_schema_t *schema,
char *name, int *length);
Description
Thisfunction looks up the length of a char orstring eldassociated with a given attribute
namein 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.
length
OUT:Updated to be the length of the eld associated with that name in the schema.
ReturnCodes
HCERR_OK
HCERR_BAD_REQUEST
HCERR_INVALID_SCHEMA
HCERR_ILLEGAL_ARGUMENT
hc_schema_get_count
Returnsthe number of name-value pairs in the metadata schema.
Synopsis
hcerr_t hc_schema_get_count(hc_schema_t *hsp,
hc_long_t *countp);
SynchronousCAPI Functions
Chapter3 SunStorageTek 5800 System C Client API 61