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

Name

Description

func

Component or function name, or NULL.

file

Source file pathname, or NULL.

line

Source line number, or 0 if unknown.

level

Severity (OSSL_CMP_LOG_*).

msg

NUL‐terminated log line, typically ending with a newline.

Created with MrDocs