cfg_dup_resolved_item_value()

Find the specified configuration item and get its resolved values.

Synopsis:

#include <asr/cfg.h>
 
char* cfg_dup_resolved_item_value(const cfg_item_t *item, const char *item_path)

Arguments:

item

A pointer to the configuration item to begin the search from.

item_path

The path of the configuration item (e.g., "phone/digit-dialing")

Library:

libasr

Description:

The cfg_dup_resolved_item_value() function searches for the configuration item named by item_path starting at the node item. If the item is found, it expands the variable references and returns the resolved value.

Returns:

An allocated string with all the variable references expanded.