Description
This structure denes the 5800 system C client API error codes.
Synchronous C API Functions
The 5800 system synchronous C API functions are dened to perform the following tasks:
■
“Managing 5800 System Sessions” on page 53
■
“Managing a Schema” on page 59
■
“Manipulating Name-Value Records” on page 63
■
“Storing Data and Metadata” on page 87
■
“Retrieving Data and Metadata” on page 91
■
“Querying Metadata” on page 94
■
“Deleting Records” on page 111
■
“Translating Error and Type Codes” on page 112
Managing 5800 System Sessions
The following 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
Creates a session.
Synopsis
hcerr_t hc_session_create_ez(char *host,
int port,
hc_session_t **sessionp);
SynchronousCAPI Functions
Chapter3 • SunStorageTek 5800SystemCClient API 53