Adds one data item of binary type (that is, a specified number of unsigned characters), specified as the parameters
key
and
value,
to the data structure specified by the parameter
list.
TKVResult TKVListAddBinary( TKVList *list, char *key, unsigned char *val, int length );
Name | Description |
---|---|
list | A pointer to the data structure to which the specified key-value pair should be added. |
key | A pointer to the string representing the parameter name. |
val |
A pointer to the value of the parameter specified by the parameter
key.
|
length |
The length of the parameter specified by the parameter
val.
|
Refer to the type TKVResult.