cfg_dup_resolved_string()

Get an item's resolved values relative to a node.

Synopsis:

#include <asr/cfg.h>
 
char* cfg_dup_resolved_string(const cfg_item_t *current, char *string)

Arguments:

current

A pointer to the node to use to expand variables.

string

The string to resolve.

Library:

libasr

Description:

The cfg_dup_resolved_string() function expands the variable references in a configuration item relative to the specified node and returns the resolved value.

Returns:

An allocated string with all the variable references expanded.