Description
Thisstructure denes the 5800 system C client API error codes.
SynchronousC API Functions
The5800 system synchronous C API functions are dened to perform the following tasks:
“Managing5800 System Sessions” on page 53
“Managinga Schema” on page 59
“ManipulatingName-Value Records” on page 63
“StoringData and Metadata” on page 87
“RetrievingData and Metadata” on page 91
“QueryingMetadata” on page 94
“DeletingRecords” on page 111
“TranslatingError and Type Codes” on page 112

Managing 5800 SystemSessions

Thefollowing functions are used to manage 5800 system sessions:
hc_session_create_ez”on page 53
hc_session_free”on page 55
hc_session_get_status”on page 55
hc_session_get_schema”on page 56
hc_session_get_host”on page 57
hc_session_get_platform_result”on page 58
hc_session_get_archive”on page 59

hc_session_create_ez

Createsa session.
Synopsis
hcerr_t hc_session_create_ez(char *host,
int port,
hc_session_t **sessionp);
SynchronousCAPI Functions
Chapter3 • Sun StorageTek 5800 System C Client API 53