Return the integer value of a node in a configuration tree.
#include <asr/cfg.h>
long long cfg_find_num(const cfg_item_t *node, const char *key, long long default_num)
A pointer to the node to start the search from.
A '/' separated list of node names to search for.
An integer to return if the specified key isn't found.
The cfg_find_num() function invokes the cfg_find_item() function to search a configuration tree for a node that matches key, starting at node. If a match is found, its integer value is returned.
The integer value of the matching configuration node; default_num if the item wasn't found.