27 RCSIDH(tls_log_h,
"$Id: 282b4e7742e1e563bbe98f3196ef46b23bfc0e97 $")
29 #include "openssl_user_macros.h"
34 #include <freeradius-devel/server/request.h>
35 #include <openssl/bio.h>
46 #define fr_tls_chain_log(_request, _log_type, _chain, _leaf) \
47 _fr_tls_chain_log( __FILE__, __LINE__, _request, _log_type, _chain, _leaf)
48 void _fr_tls_chain_log(
char const *
file,
int line,
59 #define fr_tls_chain_marker_log(_request, _log_type, _chain, _leaf, _marker) \
60 _fr_tls_chain_marker_log( __FILE__, __LINE__, _request, _log_type, _chain, _leaf, _marker)
61 void _fr_tls_chain_marker_log(
char const *
file,
int line,
71 #define fr_tls_x509_objects_log(_request, _log_type, _objects) \
72 _fr_tls_x509_objects_log( __FILE__, __LINE__, _request, _log_type, _objects)
73 void _fr_tls_x509_objects_log(
char const *
file,
int line,
75 STACK_OF(X509_OBJECT) *objects);
77 int fr_tls_log_io_error(
request_t *request,
int err,
char const *
msg, ...)
78 CC_HINT(
format (printf, 3, 4));
80 int fr_tls_log(
request_t *request,
char const *
msg, ...) CC_HINT(
format (printf, 2, 3));
82 void fr_tls_log_clear(
void);
93 #define fr_tls_request_log_bio(_request, _type, _lvl) \
94 _fr_tls_request_log_bio(__FILE__, __LINE__, _request, _type, _lvl)
106 #define fr_tls_global_log_bio(_type, _lvl) \
107 _fr_tls_global_log_bio(__FILE__, __LINE__, _type, _lvl)
110 int fr_tls_log_init(
void);
112 void fr_tls_log_free(
void);
fr_aka_sim_id_type_t type
int format(printf, 5, 0))