beautypg.com

Synopsis, Description, Hc_type_t – Sun Microsystems Sun StorageTek 5800 User Manual

Page 47: Hc_value_t

background image

Synopsis

typedef double hc_double_t;

Description

Type for holding floating-point values.

hc_type_t

5800 system name-value metadata type specifier.

Synopsis

typedef enum hc_types_{

HC_UNKNOWN_TYPE = -1,

HC_BOGUS_TYPE = 0,

HC_STRING_TYPE = 1,

HC_LONG_TYPE = 2,

HC_DOUBLE_TYPE = 3,

HC_BYTE_TYPE = 4,

HC_CHAR_TYPE = 5,

HC_BINARY_TYPE = 6,

HC_DATE_TYPE = 7,

HC_TIME_TYPE = 8,

HC_TIMESTAMP_TYPE = 9,

HC_OBJECTID_TYPE = 10,

} hc_type_t;

Description

Specifies one of the 5800 system metadata types that can go in the archive.

hc_value_t

5800 system name-value metadata data value.

Synopsis

typedef struct hc_value_ {

hc_type_t hcv_type;

union {

hc_string_t hcv_string;

hc_long_t hcv_long;

hc_double_t hcv_double;

Synchronous C Data Types

Chapter 3 • Sun StorageTek 5800 System C Client API

47