|
static int8_t | case_cmp (void const *one, void const *two) |
|
static uint32_t | case_hash (void const *data) |
|
static int | case_to_key (uint8_t **out, size_t *outlen, void const *data) |
|
static int | catch_argv (CONF_SECTION *cs, unlang_catch_t *ca, char const *name) |
|
static void | compile_action_defaults (unlang_t *c, unlang_compile_t *unlang_ctx) |
|
static int | compile_action_pair (unlang_mod_actions_t *actions, CONF_PAIR *cp) |
|
static bool | compile_action_subsection (unlang_t *c, CONF_SECTION *cs, CONF_SECTION *subcs) |
|
static unlang_t * | compile_break (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_ITEM const *ci) |
|
static unlang_t * | compile_call (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_ITEM const *ci) |
|
static unlang_t * | compile_caller (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_ITEM const *ci) |
|
static unlang_t * | compile_case (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_ITEM const *ci) |
|
static unlang_t * | compile_catch (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_ITEM const *ci) |
|
static unlang_t * | compile_children (unlang_group_t *g, unlang_compile_t *unlang_ctx_in, bool set_action_defaults) |
|
static void | compile_copy_context (unlang_compile_t *dst, unlang_compile_t const *src) |
|
static unlang_t * | compile_detach (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_ITEM const *ci) |
|
static unlang_t * | compile_edit_pair (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_PAIR *cp) |
| Compile one edit pair. More...
|
|
static unlang_t * | compile_edit_section (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_SECTION *cs) |
| Compile one edit section. More...
|
|
static unlang_t * | compile_else (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_ITEM const *ci) |
|
static unlang_t * | compile_elsif (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_ITEM const *ci) |
|
static unlang_t * | compile_empty (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_SECTION *cs, unlang_ext_t const *ext) |
|
static unlang_t * | compile_foreach (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_ITEM const *ci) |
|
static unlang_t * | compile_function (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_ITEM *ci, CONF_SECTION *subcs, bool policy) |
|
static unlang_t * | compile_group (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_ITEM const *ci) |
|
static unlang_t * | compile_if (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_ITEM const *ci) |
|
static unlang_t * | compile_if_subsection (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_SECTION *cs, unlang_ext_t const *ext) |
|
static unlang_t * | compile_item (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_ITEM *ci) |
|
static unlang_t * | compile_limit (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_ITEM const *ci) |
|
static unlang_t * | compile_load_balance (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_ITEM const *ci) |
|
static unlang_t * | compile_load_balance_subsection (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_SECTION *cs, unlang_ext_t const *ext) |
|
static unlang_t * | compile_map (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_ITEM const *ci) |
|
static int | compile_map_name (unlang_group_t *g) |
|
static unlang_t * | compile_module (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_ITEM *ci, char const *name) |
|
static unlang_t * | compile_parallel (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_ITEM const *ci) |
|
static unlang_t * | compile_redundant (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_ITEM const *ci) |
|
static unlang_t * | compile_redundant_load_balance (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_ITEM const *ci) |
|
static bool | compile_retry_section (unlang_mod_actions_t *actions, CONF_ITEM *ci) |
|
static unlang_t * | compile_return (unlang_t *parent, unlang_compile_t *unlang_ctx, UNUSED CONF_ITEM const *ci) |
|
static unlang_t * | compile_section (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_SECTION *cs, unlang_ext_t const *ext) |
|
static unlang_t * | compile_subrequest (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_ITEM const *ci) |
|
static unlang_t * | compile_switch (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_ITEM const *ci) |
|
static unlang_t * | compile_timeout (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_ITEM const *ci) |
|
static unlang_t * | compile_tmpl (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_ITEM *ci) |
|
static unlang_t * | compile_transaction (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_ITEM const *ci) |
|
static unlang_t * | compile_try (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_ITEM const *ci) |
|
static unlang_t * | compile_update (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_ITEM const *ci) |
|
static unlang_t * | compile_update_to_edit (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_SECTION *cs) |
|
static int | compile_variable (unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_PAIR *cp, tmpl_rules_t *t_rules) |
| Compile a variable definition. More...
|
|
static int | define_local_variable (CONF_ITEM *ci, unlang_variable_t *var, tmpl_rules_t *t_rules, fr_type_t type, char const *name, fr_dict_attr_t const *ref) |
|
int | dict_attr_acopy_children (fr_dict_t *dict, fr_dict_attr_t *dst, fr_dict_attr_t const *src) |
| Copy the children of an existing attribute. More...
|
|
static int | edit_pair_alloc (CONF_SECTION *cs, CONF_PAIR *original, char const *attr, fr_token_t op, char const *value, fr_token_t list_op) |
|
static int | edit_section_alloc (CONF_SECTION *parent, CONF_SECTION **child, char const *name1, fr_token_t op) |
|
static unlang_group_t * | group_allocate (unlang_t *parent, CONF_SECTION *cs, unlang_ext_t const *ext) |
|
static int8_t | instruction_cmp (void const *one, void const *two) |
|
static bool | pass2_fixup_map (map_t *map, tmpl_rules_t const *rules, fr_dict_attr_t const *parent) |
| Fixup ONE map (recursively) More...
|
|
static bool | pass2_fixup_map_rhs (unlang_group_t *g, tmpl_rules_t const *rules) |
|
static bool | pass2_fixup_tmpl (UNUSED TALLOC_CTX *ctx, tmpl_t **vpt_p, CONF_ITEM const *ci, fr_dict_t const *dict) |
|
static bool | pass2_fixup_update (unlang_group_t *g, tmpl_rules_t const *rules) |
|
static bool | transaction_ok (CONF_SECTION *cs) |
| Limit the operations which can appear in a transaction. More...
|
|
static int | unlang_attr_rules_verify (tmpl_attr_rules_t const *rules) |
|
int | unlang_compile (virtual_server_t const *vs, CONF_SECTION *cs, unlang_mod_actions_t const *actions, tmpl_rules_t const *rules, void **instruction) |
| Compile an unlang section for a virtual server. More...
|
|
bool | unlang_compile_actions (unlang_mod_actions_t *actions, CONF_SECTION *action_cs, bool module_retry) |
|
void | unlang_compile_init (TALLOC_CTX *ctx) |
|
bool | unlang_compile_is_keyword (const char *name) |
| Check if name is an unlang keyword. More...
|
|
static void | unlang_dump (unlang_t *instruction, int depth) |
|
static int | unlang_fixup_edit (map_t *map, void *ctx) |
| Validate and fixup a map that's part of an edit section. More...
|
|
static int | unlang_fixup_map (map_t *map, UNUSED void *ctx) |
| Validate and fixup a map that's part of an map section. More...
|
|
int | unlang_fixup_update (map_t *map, void *ctx) |
| Validate and fixup a map that's part of an update section. More...
|
|
static int | unlang_rules_verify (tmpl_rules_t const *rules) |
|
void * | unlang_thread_instance (unlang_t const *instruction) |
| Get the thread-instance data for an instruction. More...
|
|
int | unlang_thread_instantiate (TALLOC_CTX *ctx) |
| Create thread-specific data structures for unlang. More...
|
|
static bool | validate_limited_subsection (CONF_SECTION *cs, char const *name) |
|
static CONF_SECTION * | virtual_module_find_cs (CONF_ITEM *ci, UNUSED char const *real_name, char const *virtual_name, char const *method_name, bool *policy) |
| Load a named module from the virtual module list, or from the "policy" subsection. More...
|
|
Functions to convert configuration sections into unlang structures.
- Id
- ac5f9abfae5c0c48830ad680f22468ad84fa49d8
- Copyright
- 2006-2016 The FreeRADIUS server project
Definition in file compile.c.