25RCSID(
"$Id: 7358bf696313a5cbe3514f88a9ebf13fc5c66cd8 $")
27#include "unlang_priv.h"
80static int8_t
op_cmp(
void const *one,
void const *two)
#define CMP(_a, _b)
Same as CMP_PREFER_SMALLER use when you don't really care about ordering, you just want an ordering.
void unlang_call_init(void)
void unlang_caller_init(void)
void unlang_catch_init(void)
A section grouping multiple CONF_PAIR.
#define cf_data_find(_cf, _type, _name)
void unlang_compile_init(TALLOC_CTX *ctx)
void unlang_condition_init(void)
void unlang_detach_init(void)
Initialise subrequest ops.
void unlang_finally_init(void)
void unlang_foreach_init(void)
void unlang_function_init(void)
void unlang_group_init(void)
bool fr_hash_table_insert(fr_hash_table_t *ht, void const *data)
Insert data into a hash table.
uint32_t fr_hash_string(char const *p)
#define fr_hash_table_alloc(_ctx, _hash_node, _cmp_node, _free_node)
int unlang_interpret_init_global(TALLOC_CTX *ctx)
static int _unlang_global_free(UNUSED void *uctx)
static int8_t op_cmp(void const *one, void const *two)
unlang_op_t unlang_ops[UNLANG_TYPE_MAX]
Different operations the interpreter can execute.
bool unlang_section(CONF_SECTION *cs)
Return whether a section has unlang data associated with it.
static TALLOC_CTX * unlang_ctx
int unlang_global_init(void)
static int _unlang_global_init(UNUSED void *uctx)
fr_hash_table_t * unlang_op_table
static uint32_t op_hash(void const *data)
void unlang_register(unlang_op_t *op)
Register an operation with the interpreter.
void unlang_map_init(void)
void unlang_limit_init(void)
void unlang_load_balance_init(void)
void unlang_parallel_init(void)
void unlang_return_init(void)
void unlang_module_init(void)
int unlang_subrequest_op_init(void)
Initialise subrequest ops.
void unlang_switch_init(void)
void unlang_timeout_init(void)
void unlang_tmpl_init(void)
void unlang_transaction_init(void)
void unlang_try_init(void)
void unlang_edit_init(void)
int xlat_global_init(void)
unlang_type_t type
enum value for the keyword
char const * name
Name of the keyword.
@ UNLANG_OP_FLAG_INTERNAL
it's not a real keyword
unlang_op_flag_t flag
Interpreter flags for this operation.
Generic representation of a grouping.