Function dds_lookup_statistic¶
- Defined in File dds_statistics.h 
Function Documentation¶
- 
const struct dds_stat_keyvalue *dds_lookup_statistic(const struct dds_statistics *stat, const char *name)¶
- Lookup a specific value by name. - This looks up the specified name in the list of keys in - statand returns the address of the key-value pair if present, a null pointer if not. If- statis a null pointer, it returns a null pointer.- Parameters
- stat – [in] statistics object to lookup a name in (or NULL) 
- name – [in] name to look for 
 
- Returns
- The address of the key-value pair inside - stat, or NULL if- statis NULL or- namedoes not match a key in `stat.