27RCSIDH(rlm_unbound_log_h,
"$Id: 0643d1fceaba3a31170f9e75c84b5d2ae3a6028b $")
33#include <freeradius-devel/server/request.h>
static uint8_t request[4]
#define DIAG_OFF_OPTIONAL(_x)
#define DIAG_ON_OPTIONAL(_x)
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.