25RCSID(
"$Id: ae05160c089f63c657858195fb31a9572e26b645 $")
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.
void unlang_return_init(void)
unlang_action_t unlang_return(unlang_result_t *p_result, request_t *request, unlang_stack_frame_t *frame)
Declarations for the "return" keyword, used to implement other keywords.
unlang_result_t section_result
The aggregate result of executing all siblings in this section.
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.
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.