strm_dict_find_value()

Find the value of a dictionary entry based on the entry's key (returns a string)

Synopsis:

#include <strm.h>

const char *strm_dict_find_value( const strm_dict_t *dict, const char *key );

Arguments:

dict
A dictionary object handle.
key
The key of the dictionary entry.

Library:

libstrm

Description:

The function strm_dict_find_value() returns the value of the dictionary entry specified by the key argument. The returned string is owned by the dictionary, and remains valid until the dictionary handle is destroyed.

Returns:

The value (as a string) of the dictionary entry specified by the key parameter if the entry is found, or a null pointer if it isn't found.

Classification:

QNX Neutrino

Safety:  
Interrupt handler No
Signal handler No
Thread Yes