Allocates memory to hold the total number of properties.

API

int Iotc_AllocateProperties ( IotcKeyValueSet * properties, size_t size )

Parameters
in, out properties

Pointer to the property set.

in size

Capacity of the property set in terms of number of properties.

Returns
0 on success and -1 on failure.