Callback type for CMP logging: receive component, source location, severity, and message.
Declared in <openssl/cmp_util.h>
typedef int(* OSSL_CMP_log_cb_t)(char const*, char const*, int, OSSL_CMP_severity, char const*);
1 on success, or 0 on failure.
| 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. |