beautypg.com

Synchronous c data types, Hc_string_t, Synopsis – Sun Microsystems Sun StorageTek 5800 User Manual

Page 46: Description, Hc_long_t, Hc_double_t

background image

Synchronous C Data Types

The following data types are defined for the C API:

“hc_string_t” on page 46

“hc_long_t” on page 46

“hc_double_t” on page 46

“hc_type_t” on page 47

“hc_value_t” on page 47

“hc_schema_t” on page 48

“hc_nvr_t” on page 48

“hc_session_t” on page 48

“hc_pstmt_t” on page 49

“read_from_data_source” on page 49

“write_to_data_destination” on page 50

“hcerr_t” on page 51

hc_string_t

Type for holding Unicode (UTF-8) and Latin-1 null-terminated strings.

Synopsis

typedef char *hc_string_t;

Description

This type is used interchangeably for holding Unicode (UTF-8) and Latin-1 null-terminated
metadata strings. The context determines whether the contents are UTF-8 or Latin-1.

hc_long_t

Type for holding integer values.

Synopsis

typedef int64_t hc_long_t;

Description

Type for holding integer values.

hc_double_t

Type for holding floating-point values.

Synchronous C Data Types

Sun StorageTek 5800 System Client API Reference Manual • June 2008

46