Spaces:
Sleeping
Sleeping
/* | |
* Copyright 2007-2021 The OpenSSL Project Authors. All Rights Reserved. | |
* Copyright Nokia 2007-2019 | |
* Copyright Siemens AG 2015-2019 | |
* | |
* Licensed under the Apache License 2.0 (the "License"). You may not use | |
* this file except in compliance with the License. You can obtain a copy | |
* in the file LICENSE in the source distribution or at | |
* https://www.openssl.org/source/license.html | |
*/ | |
extern "C" { | |
int OSSL_CMP_log_open(void); | |
void OSSL_CMP_log_close(void); | |
/* | |
* generalized logging/error callback mirroring the severity levels of syslog.h | |
*/ | |
typedef int OSSL_CMP_severity; | |
typedef int (*OSSL_CMP_log_cb_t)(const char *func, const char *file, int line, | |
OSSL_CMP_severity level, const char *msg); | |
int OSSL_CMP_print_to_bio(BIO *bio, const char *component, const char *file, | |
int line, OSSL_CMP_severity level, const char *msg); | |
/* use of the logging callback for outputting error queue */ | |
void OSSL_CMP_print_errors_cb(OSSL_CMP_log_cb_t log_fn); | |
} | |