beautypg.com

Description, Synchronous c api functions, Managing 5800 system sessions – Sun Microsystems Sun StorageTek 5800 User Manual

Page 53: Hc_session_create_ez, Synopsis

background image

Description

This structure defines the 5800 system C client API error codes.

Synchronous C API Functions

The 5800 system synchronous C API functions are defined 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);

Synchronous C API Functions

Chapter 3 • Sun StorageTek 5800 System C Client API

53