27 RCSIDH(rlm_unbound_log_h,
"$Id: 2aed20f8305084395e316ccd319a841ca261ac9e $")
33 #include <freeradius-devel/server/request.h>
#define DIAG_UNKNOWN_PRAGMAS
request_t * request
Request we're logging to.
int unbound_log_to_global(unbound_log_t *u_log, struct ub_ctx *ub)
Switch thread-specific libunbound output to the global log.
FILE * stream
Stream we use to interface with the FreeRADIUS logging functions.
int unbound_log_to_request(unbound_log_t *u_log, struct ub_ctx *ub, request_t *request)
Switch thread-specific libunbound output to the request log destination(s)
int unbound_log_init(TALLOC_CTX *ctx, unbound_log_t **u_log_out, struct ub_ctx *ub)
Setup an unbound context for log, and initialise a u_log struct.