#include <cat/gen.h>
int catgen_getint(cat_session *sess, const char *name, int *value);
Sess is the session. name is the pathname for the value in the info tree (either absolute or relative mode, see catinfo). value is a pointer to the integer where the result will be stored.
The value stored at name must be numeric or this function will return an error.
catgen_fixservice, catgen_infopath, catgen_newnode, catgen_servicepath, catgen_set, catinfo_get