(Deprecated) Allocates memory for the property set to hold the size and the number of properties.

API

int Iotc_AllocatePropertySet ( IotcPropertySet * 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.