Updated: October 28, 2024 |
Get the value of a dictionary entry as a string, based on its index
#include <sys/strm.h>
const char* strm_dict_value_get(const strm_dict_t *dict, size_t n)
This function finds the value of the entry stored at the zero-based index given in n, in the dictionary specified by dict. It returns the value as a string. This string is owned by the dictionary and remains valid until the dictionary handle is destroyed.
The specified value as a string on success, or a null pointer on failure.