NAME

catgen_certerrtologid - map certificate error to log code

SYNOPSIS

#include <cat/gen.h>

int catgen_certerrtologid(int err);

DESCRIPTION

This function maps the certificate problem error code err onto the appropriate catgen log code.

RETURN VALUES

The function returns the log code that matches the certificate error. If err is not an error code related to certificates, 0 is returned.

SEE ALSO

cat, catgen

catgen_initels, catgen_initlog, catgen_initlogfile, catgen_loadloglabels, catgen_log