Find a node higher in a configuration tree.
#include <asr/cfg.h>
cfg_item_t* cfg_find_higher_item(const cfg_item_t *current, const char *key)
A pointer to the node to begin the search in.
A '/' separated list of node names to search for.
The cfg_find_higher_item() function performs a restricted search for a node with key, starting with current and its sibling nodes, and then moving up to the parent of current, the siblings of the parent of current, and so on.
A pointer to the matching configuration node; NULL if the item wasn't found.