Function dds_qget_prop¶
Defined in File dds_public_qos.h
Function Documentation¶
-
bool dds_qget_prop(const dds_qos_t *qos, const char *name, char **value)¶
Get the value of the property with the provided name from a qos structure.
In case more than one property exists with this name, the value for the first 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 property
value – [inout] - Pointer to a string that will store the value of the property. The memory for storing the string value will be allocated by this function and the caller gets ownership of the allocated memory
- Returns
- false iff any of the arguments is invalid, the qos is not present in the qos object or there was no property found with the provided name