#include <cat/cat.h>
int catinfo_newnode(const char *node);
node must be an absolute infopath.
If node already exists in the info tree (either as a value or a node) the function will overwrite it and remove any values or nodes subordinate to the old one.
There must be an immediate parent node to the node that is added.
A successful call to catinfo_init() must have been made prior to any call to this function.
catinfo_newnode() returns 0 if successful or a negative code on error. Specifically, the function will return CAT_ENOPARENT if no immediate parent node exists.