catgen_set - set session-specific information
#include <cat/gen.h>
int catgen_set(cat_session *sess, const char *name, const char *value);
This function stores information in the session-specific location of the
info tree. Parent nodes must exist.
The function returns 0 if successful, or a negative code on error.
Specifically, the function returns CAT_ENOPARENT if the parent node does not exist.
If the session has a session id of 7 and calls:
catgen_set(sess, "foo", "Hello I'm seven");
the following value will be inserted into the info tree:
.sessions.7.foo = "Hello I'm seven"
cat, catgen, catinfo
catgen_fixservice, catgen_getint, catgen_infopath,
catgen_newnode, catgen_servicepath