NAME

catgen_parentcmd - handle commands from catd.

SYNOPSIS

#include <cat/gen.h>

int catgen_parentcmd(char *line);

DESCRIPTION

This is a callback function that is normally set by cat_parentcmd() to handle any commands sent by catd when it starts the Agent. The line argument is the command from the parent catd that is to be parsed and executed.

For a more detailed description of the commands used by catd, see the catd man page.

RETURN VALUES

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

SEE ALSO

cat, catgen

catd