The FreeRADIUS server
$Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Function prototypes and datatypes for the REST (HTTP) transport. More...
#include <freeradius-devel/server/request.h>
#include <unbound.h>
Go to the source code of this file.
Data Structures | |
struct | unbound_log_t |
Logging state. More... | |
Functions | |
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. More... | |
int | unbound_log_to_global (unbound_log_t *u_log, struct ub_ctx *ub) |
Switch thread-specific libunbound output to the global log. More... | |
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) More... | |
Function prototypes and datatypes for the REST (HTTP) transport.
Definition in file log.h.
struct unbound_log_t |
int unbound_log_init | ( | TALLOC_CTX * | ctx, |
unbound_log_t ** | u_log_out, | ||
struct ub_ctx * | ub | ||
) |
int unbound_log_to_global | ( | unbound_log_t * | u_log, |
struct ub_ctx * | ub | ||
) |
Switch thread-specific libunbound output to the global log.
Must be called before a function that previously called unbound_log_to_request yields, or can no longer be certain that the request_t * set in t->request is still valid.
Definition at line 114 of file log.c.
int unbound_log_to_request | ( | unbound_log_t * | u_log, |
struct ub_ctx * | ub, | ||
request_t * | request | ||
) |