char **names,
char **values,
hc_long_t nitems);
Description
Thisfunction creates a name-value-record from parallel tables of string names and string
values.The correct metadata type for each name must be looked up from the schema associated
withthis session. The name-value record will automatically expand as needed. The names and
datavalues are copied into the hc_nvr_t” on page 48 structure, so the original names table and
valuestable are left unchanged.
Note– Any time there is a conversion from a double typeto or from a string type,there might
bea loss of precision.
Parameters
session
IN:The session with which this name-value record is associated.
nvrp
OUT:Updated to point to a name-value-record.
names
IN:Points to an array of string names.
values
IN:Points to an array of string values.
nitems
IN:Number of active elements in the paired arrays.
ReturnCodes
HCERR_OK
HCERR_BAD_REQUEST
HCERR_OOM
HCERR_NULL_SESSION
HCERR_INVALID_SESSION
HCERR_ILLEGAL_ARGUMENT
SynchronousCAPI Functions
Chapter3 Sun StorageTek5800 System C Client API 85