Get a node's next item.
#include <asr/cfg.h>
cfg_item_t* cfg_get_next_item(const cfg_item_t *base, const cfg_item_t *current)
A pointer to the parent of current. Must not be NULL.
A pointer to the node whose next node is required. Can be NULL.
The cfg_get_next_item() function returns the next item of current or the first child of base if current is NULL. Note that the first child of base might be NULL.
A pointer to either the current node's next sibling or the first child of base.