The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Loading...
Searching...
No Matches
Functions
timeout.h File Reference

Declarations for unlang timeouts. More...

#include <freeradius-devel/server/request.h>
+ Include dependency graph for timeout.h:

Go to the source code of this file.

Functions

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.
 

Detailed Description

Declarations for unlang timeouts.

Id
16947adba169c878af60b45974853c84ffd4838e

Definition in file timeout.h.

Function Documentation

◆ unlang_timeout_section_push()

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.

Parameters
[in]requestto push timeout onto
[in]timeoutwhen to run the timeout
[in]cssection to run when the timeout fires.
[in]top_frameSet 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.

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