Unlang "timeout" keyword evaluation.
More...
#include <freeradius-devel/unlang/timeout.h>
#include "group_priv.h"
#include "timeout_priv.h"
#include "unlang_priv.h"
Go to the source code of this file.
|
static unlang_action_t | unlang_timeout (rlm_rcode_t *p_result, request_t *request, unlang_stack_frame_t *frame) |
|
static void | unlang_timeout_handler (UNUSED fr_timer_list_t *tl, UNUSED fr_time_t now, void *ctx) |
|
void | unlang_timeout_init (void) |
|
static unlang_action_t | unlang_timeout_resume_done (UNUSED rlm_rcode_t *p_result, request_t *request, unlang_stack_frame_t *frame) |
|
int | unlang_timeout_section_push (request_t *request, CONF_SECTION *cs, fr_time_delta_t timeout, bool top_frame) |
| When a timeout fires, run the given section.
|
|
static unlang_action_t | unlang_timeout_set (rlm_rcode_t *p_result, request_t *request, unlang_stack_frame_t *frame) |
|
static unlang_action_t | unlang_timeout_xlat_done (rlm_rcode_t *p_result, request_t *request, unlang_stack_frame_t *frame) |
|
Unlang "timeout" keyword evaluation.
- Id
- f72e545e8e3043e48558b711c3acd8b92423ad02
- Copyright
- 2022 Network RADIUS SAS (legal.nosp@m.@net.nosp@m.workr.nosp@m.adiu.nosp@m.s.com)
Definition in file timeout.c.
◆ unlang_frame_state_timeout_t
struct unlang_frame_state_timeout_t |
◆ unlang_timeout()
◆ unlang_timeout_handler()
◆ unlang_timeout_init()
void unlang_timeout_init |
( |
void |
| ) |
|
◆ unlang_timeout_resume_done()
◆ unlang_timeout_section_push()
When a timeout fires, run the given section.
- Parameters
-
[in] | request | to push timeout onto |
[in] | timeout | when to run the timeout |
[in] | cs | section to run when the timeout fires. |
[in] | top_frame | Set to UNLANG_TOP_FRAME if the interpreter should return. Set to UNLANG_SUB_FRAME if the interprer should continue. |
- Returns
- 0 on success.
- -1 on failure.
Static instruction for performing xlat evaluations
Definition at line 184 of file timeout.c.
◆ unlang_timeout_set()
◆ unlang_timeout_xlat_done()