Synchronous c data types, Hc_string_t, Synopsis – Sun Microsystems Sun StorageTek 5800 User Manual
Page 46: Description, Hc_long_t, Hc_double_t
Synchronous C Data Types
The following data types are defined for the C API:
■
■
■
■
■
■
■
■
■
■
“read_from_data_source” on page 49
■
“write_to_data_destination” on page 50
■
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