33 #include <freeradius-devel/server/rcode.h>
34 #include <freeradius-devel/server/tmpl.h>
35 #include <freeradius-devel/unlang/tmpl.h>
75 #define TMPL_ARGS_EXEC(_env, _timeout, _stdout_on_error, _status_out) \
76 &(unlang_tmpl_args_t){ \
77 .type = UNLANG_TMPL_ARGS_TYPE_EXEC, \
80 .timeout = _timeout, \
81 .stdout_on_error = _stdout_on_error, \
82 .status_out = _status_out \
112 CC_HINT(warn_unused_result);
unlang_action_t
Returned by unlang_op_t calls, determine the next action of the interpreter.
static fr_time_delta_t timeout
rlm_rcode_t
Return codes indicating the result of the module call.
A time delta, a difference in time measured in nanoseconds.
unlang_tmpl_args_type_t type
Flags field showing which argument structs were explicitly populated.
unlang_action_t(* fr_unlang_tmpl_resume_t)(rlm_rcode_t *p_result, request_t *request, void *rctx)
A callback for when the request is resumed.
void(* fr_unlang_tmpl_signal_t)(request_t *request, void *rctx, fr_signal_t action)
A callback when the request gets a fr_signal_t.
int unlang_tmpl_push(TALLOC_CTX *ctx, fr_value_box_list_t *out, request_t *request, tmpl_t const *tmpl, unlang_tmpl_args_t *args)
Push a tmpl onto the stack for evaluation.
unlang_tmpl_args_type_t
Flags that show the type of arguments included.
@ UNLANG_TMPL_ARGS_TYPE_EXEC
We have arguments for performing an exec.
Arguments for evaluating different types of tmpls.
static size_t char ** out