Function dds_qset_prop

Function Documentation

void dds_qset_prop(dds_qos_t *qos, const char *name, const char *value)

Stores a property with the provided name and string value in a qos structure.

In the case a property with the provided name already exists in the qos structure, the value for this entry is overwritten with the provided string value. If more than one property with the provided name exists, only the value of the first of these properties is updated.

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

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

  • value[in] - Pointer to a (null-terminated) string that will be stored