The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Enumerations
action.h File Reference

Unlang interpreter actions. More...

Go to the source code of this file.

Enumerations

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

Detailed Description

Unlang interpreter actions.

Id
6bacd0ccd0a66e89592d46741b203e94ee99667f

Definition in 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_UNWIND 

Break out of the current group.

UNLANG_ACTION_YIELD 

Temporarily pause execution until an event occurs.

UNLANG_ACTION_STOP_PROCESSING 

Break out of processing the current request (unwind).

Definition at line 35 of file action.h.