Adds a new metadata value where the value always starts out as a string.
hcerr_t hc_nvr_add_from_string(hc_nvr_t *nvr, char *name, char *value);
This is a convenient function for adding a new metadata name-value-type tuple to a designated name-value, where the value always starts out as a string. The correct metadata type for name must be looked up from the schema. The name-value record will automatically expand as needed. The string is copied into the structure.
nvr
Points to a name-value-record.
name
IN: Name for the tuple.
value
IN: The string value to be added.
HCERR_OK HCERR_BAD_REQUEST HCERR_OOM HCERR_INVALID_NVR HCERR_ILLEGAL_ARGUMENT