beautypg.com

Hc_schema_get_type, Synopsis, Description – Sun Microsystems Sun StorageTek 5800 User Manual

Page 60: Parameters, Return codes

background image

“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

Synchronous C API Functions

Sun StorageTek 5800 System Client API Reference Manual • June 2008

60