
Synchronous C API Functions
IN: Should range from 0 up to the
namep
OUT: Updated to point to a string that is an attribute name of one attribute in the schema.
typep
OUT: Updated to be the type associated with that name in the schema. If the server schema references a type that the client library does not support, then the type is returned as
HC_UNKNOWN_TYPE.
Return Codes
HCERR_OK
HCERR_BAD_REQUEST
HCERR_OOM
HCERR_INVALID_SCHEMA
HCERR_ILLEGAL_ARGUMENT
See Also
“hc_schema_get_count” on page 61
Manipulating Name-Value Records
5800 system synchronous C API functions are defined to perform the following
■“Using the API for Storing
■“Using Returned
■“Creating and Freeing
■“Building
■“Retrieving
■“Creating and Converting
Using the API for Storing Name-Value Records
A common way of storing metadata in the synchronous C API for the 5800 system is to use the
Chapter 3 • Sun StorageTek 5800 System C Client API | 63 |