NAME

catgen_initinfo - initialize configuration info tree

SYNOPSIS

#include <cat/gen.h>

int catgen_initinfo(void);

DESCRIPTION

This function connects the info tree to disk files or the registry, and creates the initial nodes used by the catgen library. The function also initializes some mutexes used internally.

The function is called by catgen_init. If, for some reason catgen_init is not used, the catgen_initinfo function must be called before any other catgen function will work, with the exception of argument parsing.

The function returns 0 if successful, or a negative error code on error.

SEE ALSO

cat, catinfo, catgen

catgen_init