Updated: October 28, 2024 |
Get the value of a dictionary entry as a string, based on its key
#include <sys/strm.h>
const char* strm_dict_find_value(const strm_dict_t *dict, const char *key)
This function returns the value of the entry specified by key and found in the dict dictionary. The returned string is owned by the dictionary and remains valid until the dictionary handle is destroyed.
If the entry is found, its value (as a string) is returned. If it's not found, a null pointer is returned.