OSSL_CMP_log_cb_t

Callback type for CMP logging: receive component, source location, severity, and message.

Synopsis

Declared in <openssl/cmp_util.h>

typedef int(* OSSL_CMP_log_cb_t)(char const*, char const*, int, OSSL_CMP_severity, char const*);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
funcComponent or function name, or NULL.
fileSource file pathname, or NULL.
lineSource line number, or 0 if unknown.
levelSeverity (OSSL_CMP_LOG_*).
msgNUL-terminated log line, typically ending with a newline.