25 RCSID(
"$Id: 355147a2ddfbe4f42b8922a104c0106acd186f3c $")
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_return(unlang_stack_t *stack)
@ 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_type_t type
The specialisation of this node.
Our interpreter stack, as distinct from the C stack.