25RCSID(
"$Id: 2bb9e011083f67c6adcdcabb9560b2698f77d9fb $")
27#include "unlang_priv.h"
unlang_action_t
Returned by unlang_op_t calls, determine the next action of the interpreter.
void unlang_register(int type, unlang_op_t *op)
Register an operation with the interpreter.
unlang_op_t unlang_ops[UNLANG_TYPE_MAX]
Different operations the interpreter can execute.
rlm_rcode_t
Return codes indicating the result of the module call.
unlang_action_t unlang_return(rlm_rcode_t *p_result, request_t *request, unlang_stack_frame_t *frame)
void unlang_return_init(void)
Declarations for the "return" keyword, used to implement other keywords.
static unlang_action_t unwind_to_op_flag(unsigned int *depth_p, unlang_stack_t *stack, unlang_op_flag_t flag)
Mark the entire stack as cancelled.
@ UNLANG_TYPE_RETURN
Return statement.
unlang_t const * instruction
The unlang node we're evaluating.
rlm_rcode_t result
The result from executing the instruction.
char const * name
Name of the operation.
@ UNLANG_OP_FLAG_RETURN_POINT
Return point.
unlang_type_t type
The specialisation of this node.
Our interpreter stack, as distinct from the C stack.