Function dds_qget_bprop

Function Documentation

bool dds_qget_bprop(const dds_qos_t *qos, const char *name, void **value, size_t *sz)

Get the value of the binary property with the provided name from a qos structure.

In case more than one binary property exists with this name, the value for the first binary property with this name will be returned.

Parameters
  • qos[inout] - Pointer to a dds_qos_t structure that contains the property

  • name[in] - Pointer to name of the binary property

  • value[inout] - Pointer to a buffer that will store the value of the property. If sz = 0 then a NULL pointer. The memory for storing the value will be allocated by this function and the caller gets ownership of the allocated memory

  • sz[inout] - Pointer that will store the size of the returned buffer.

Returns

- false iff any of the arguments is invalid, the qos is not present in the qos object or there was no binary property found with the provided name