28#define LOG_PREFIX "tls"
30#include <freeradius-devel/unlang/action.h>
31#include <freeradius-devel/unlang/interpret.h>
32#include <freeradius-devel/unlang/call.h>
33#include <freeradius-devel/server/virtual_servers.h>
59 fr_tls_conf_t *
conf, fr_tls_session_t *tls_session,
65 fr_assert(tls_session->cache || !cache_required);
78 "TLS configuration has no virtual_server, so no policy section can run")) {
unlang_action_t
Returned by unlang_op_t calls, determine the next action of the interpreter.
@ UNLANG_ACTION_PUSHED_CHILD
unlang_t pushed a new child onto the stack, execute it instead of continuing.
@ UNLANG_ACTION_FAIL
Encountered an unexpected error.
unlang_action_t unlang_call_push(unlang_result_t *p_result, request_t *request, CONF_SECTION *server_cs, bool top_frame)
Push a virtual server CONF_SECTION as a call frame onto the stack.
#define fr_cond_assert(_x)
Calls panic_action ifndef NDEBUG, else logs error and evaluates to value of _x.
#define fr_cond_assert_msg(_x, _fmt,...)
Calls panic_action ifndef NDEBUG, else logs error and evaluates to value of _x.
unlang_action_t(* unlang_function_no_result_t)(request_t *request, void *uctx)
A generic function pushed by a module or xlat to functions deeper in the C call stack to create resum...
#define unlang_function_push(_request, _func, _repeat, _signal, _sigmask, _top_frame, _uctx)
Push a generic function onto the unlang stack.
void unlang_interpet_frame_discard(request_t *request)
Discard the bottom most frame on the request's stack.
#define request_is_detachable(_x)
@ FR_SIGNAL_NONE
No signals.
int unlang_subrequest_child_push(unlang_result_t *p_result, request_t *child, void const *unique_session_ptr, bool free_child, bool top_frame)
Push a pre-existing child back onto the stack as a subrequest.