NAME

catgen_initboks - initialize the Keon 4.x (BoKS) interface

SYNOPSIS

#include <cat/gen.h>

int catgen_initboks(void);

DESCRIPTION

This function reads configuration parameters and sets up the BoKS interface. This processing comprises reading the BoKS specific configuration data, setting up the BoKS communication data using catboks_init(), and installing a default log dispatcher using catboks_loginit() and catlog_setdispatcher().

RETURN VALUES

The function returns 0 if successful or if there is insufficient configuration data to complete the operation. Any other code returned indicates an error.

NOTES

Only the node key is required to set up communication with a Keon Security Server 4.x. All other parameters can take default values. Hence, if no node key is supplied, Keon 4.x is not set up, which is not regarded as an error.

SEE ALSO

cat, catgen

catboks_init, catboks_loginit, catlog_setdispatcher