[#OSSL_CMP_log_cb_t] = OSSL_CMP_log_cb_t :mrdocs: Callback type for CMP logging: receive component, source location, severity, and message. == Synopsis Declared in `<openssl/cmp_util.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- typedef int(* OSSL_CMP_log_cb_t)(char const*, char const*, int, xref:OSSL_CMP_severity.adoc[OSSL_CMP_severity], char const*); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#