The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Loading...
Searching...
No Matches
Data Structures | Functions
timeout.c File Reference

Unlang "timeout" keyword evaluation. More...

#include <freeradius-devel/unlang/interpret.h>
#include <freeradius-devel/server/rcode.h>
#include "group_priv.h"
#include "timeout_priv.h"
#include "mod_action.h"
#include "unlang_priv.h"
+ Include dependency graph for timeout.c:

Go to the source code of this file.

Data Structures

struct  unlang_frame_state_timeout_t
 

Functions

static unlang_tunlang_compile_timeout (unlang_t *parent, unlang_compile_ctx_t *unlang_ctx, CONF_ITEM const *ci)
 
static unlang_action_t unlang_timeout (unlang_result_t *p_result, request_t *request, unlang_stack_frame_t *frame)
 
static unlang_action_t unlang_timeout_done (unlang_result_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 (unlang_result_t *p_result, UNUSED request_t *request, unlang_stack_frame_t *frame)
 
static unlang_action_t unlang_timeout_set (UNUSED unlang_result_t *p_result, request_t *request, unlang_stack_frame_t *frame)
 
static void unlang_timeout_signal (UNUSED request_t *request, unlang_stack_frame_t *frame, fr_signal_t action)
 Immediately cancel the timeout if the frame is cancelled.
 

Detailed Description

Unlang "timeout" keyword evaluation.

Id
4d259bb333fe64f80adf9e24b8fb0690f824c39e

Definition in file timeout.c.


Data Structure Documentation

◆ unlang_frame_state_timeout_t

struct unlang_frame_state_timeout_t

Definition at line 34 of file timeout.c.

+ Collaboration diagram for unlang_frame_state_timeout_t:
Data Fields
int depth
fr_timer_t * ev
bool fired
rindent_t indent
request_t * request
fr_value_box_list_t result
fr_time_delta_t timeout

Function Documentation

◆ unlang_compile_timeout()

static unlang_t * unlang_compile_timeout ( unlang_t parent,
unlang_compile_ctx_t unlang_ctx,
CONF_ITEM const *  ci 
)
static

Definition at line 172 of file timeout.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ unlang_timeout()

static unlang_action_t unlang_timeout ( unlang_result_t p_result,
request_t request,
unlang_stack_frame_t frame 
)
static

Definition at line 141 of file timeout.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ unlang_timeout_done()

static unlang_action_t unlang_timeout_done ( unlang_result_t p_result,
request_t request,
unlang_stack_frame_t frame 
)
static

Definition at line 128 of file timeout.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ unlang_timeout_handler()

static void unlang_timeout_handler ( UNUSED fr_timer_list_t tl,
UNUSED fr_time_t  now,
void *  ctx 
)
static

Definition at line 56 of file timeout.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ unlang_timeout_init()

void unlang_timeout_init ( void  )

Definition at line 274 of file timeout.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ unlang_timeout_resume_done()

static unlang_action_t unlang_timeout_resume_done ( unlang_result_t p_result,
UNUSED request_t request,
unlang_stack_frame_t frame 
)
static

Definition at line 94 of file timeout.c.

+ Here is the caller graph for this function:

◆ unlang_timeout_set()

static unlang_action_t unlang_timeout_set ( UNUSED unlang_result_t p_result,
request_t request,
unlang_stack_frame_t frame 
)
static

Definition at line 108 of file timeout.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ unlang_timeout_signal()

static void unlang_timeout_signal ( UNUSED request_t request,
unlang_stack_frame_t frame,
fr_signal_t  action 
)
static

Immediately cancel the timeout if the frame is cancelled.

Definition at line 47 of file timeout.c.

+ Here is the caller graph for this function: