The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Loading...
Searching...
No Matches
Macros | Enumerations
action.h File Reference

Unlang interpreter actions. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define RETURN_UNLANG_ACTION_FATAL
 

Enumerations

enum  unlang_action_t {
  UNLANG_ACTION_FAIL = -1 ,
  UNLANG_ACTION_CALCULATE_RESULT = 1 ,
  UNLANG_ACTION_EXECUTE_NEXT ,
  UNLANG_ACTION_PUSHED_CHILD ,
  UNLANG_ACTION_YIELD
}
 Returned by unlang_op_t calls, determine the next action of the interpreter. More...
 

Detailed Description

Unlang interpreter actions.

Id
c88e16ddf7d22581d6ab6746c8ae30a33edd1d39

Definition in file action.h.

Macro Definition Documentation

◆ RETURN_UNLANG_ACTION_FATAL

#define RETURN_UNLANG_ACTION_FATAL
Value:
{ \
unlang_interpret_signal(request, FR_SIGNAL_CANCEL); \
}
@ UNLANG_ACTION_FAIL
Encountered an unexpected error.
Definition action.h:36
@ FR_SIGNAL_CANCEL
Request has been cancelled.
Definition signal.h:40

Definition at line 44 of file action.h.

Enumeration Type Documentation

◆ unlang_action_t

Returned by unlang_op_t calls, determine the next action of the interpreter.

These deal exclusively with control flow.

Enumerator
UNLANG_ACTION_FAIL 

Encountered an unexpected error.

UNLANG_ACTION_CALCULATE_RESULT 

Calculate a new section rlm_rcode_t value.

UNLANG_ACTION_EXECUTE_NEXT 

Execute the next unlang_t.

UNLANG_ACTION_PUSHED_CHILD 

unlang_t pushed a new child onto the stack, execute it instead of continuing.

UNLANG_ACTION_YIELD 

Temporarily pause execution until an event occurs.

Definition at line 35 of file action.h.