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

Declarations for unlang timeouts. More...

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

Go to the source code of this file.

Functions

int unlang_finally_push_instruction (request_t *request, void *instruction, fr_time_delta_t min_time, bool top_frame)
 Push a finally instructtion on the stack, to be evaluated as the stack is unwound.
 

Detailed Description

Declarations for unlang timeouts.

Id
5aa2127c22f8ce73e6762d2dd573b0aa69991c11

Definition in file finally.h.

Function Documentation

◆ unlang_finally_push_instruction()

int unlang_finally_push_instruction ( request_t request,
void *  instruction,
fr_time_delta_t  min_time,
bool  top_frame 
)

Push a finally instructtion on the stack, to be evaluated as the stack is unwound.

Parameters
[in]requestto push timeout onto
[in]instructionto run as we unwind
[in]min_timemax time to wait for the finally instruction to finish. This only applies if the request timeout timer has already fired, or has less than max_time to execute. i.e. this is a guarantee of a minimum amount of time for the finally instruction to run.
[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 101 of file finally.c.

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