beautypg.com

Description, Parameters, Return codes – Sun Microsystems Sun StorageTek 5800 User Manual

Page 62: See also, Hc_schema_get_type_at_index, Synopsis

background image

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” on page 62

hc_schema_get_type_at_index

Iterates through the name-value pairs in a schema.

Synopsis

hcerr_t hc_schema_get_type_at_index (hc_schema_t *hsp,

hc_long_t index,char **namep,

hc_type_t *typep);

Description

This function provides a simple way to iterate through the name-value pairs in a schema.

Parameters

hsp

IN: The schema to query.

index

Synchronous C API Functions

Sun StorageTek 5800 System Client API Reference Manual • June 2008

62