Function dds_qget_topicdata

Function Documentation

bool dds_qget_topicdata(const dds_qos_t *qos, void **value, size_t *sz)

Get the topicdata from a qos structure.

Parameters
  • qos[in] - Pointer to a dds_qos_t structure storing the policy

  • value[inout] - Pointer that will store the topicdata. If sz = 0, then a null pointer, else it is a pointer to an allocated buffer of sz+1 bytes where the last byte is always 0

  • sz[inout] - Pointer that will store the size of topicdata

Returns

- false iff any of the arguments is invalid or the qos is not present in the qos object