SynchronousC Data Types
Thefollowing data types are dened 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

Typefor holding Unicode (UTF-8) and Latin-1 null-terminated strings.
Synopsis
typedef char *hc_string_t;
Description
Thistype is used interchangeably for holding Unicode (UTF-8) and Latin-1 null-terminated
metadatastrings. The context determines whether the contents are UTF-8 or Latin-1.

hc_long_t

Typefor holding integer values.
Synopsis
typedef int64_t hc_long_t;
Description
Typefor holding integer values.

hc_double_t

Typefor holding oating-point values.
SynchronousCData Types
SunStorageTek5800 System Client API Reference Manual • June 200846