Synchronous C Data Types
The following data types are dened 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 oating-point values.
SynchronousCDataTypes
SunStorageTek 5800SystemClientAPIReferenceManual • June 200846