25 RCSIDH(dict_fixup_priv_h,
"$Id: 3afd1ba4a0ee002c02f908a190a720780497674c $")
27 #include <freeradius-devel/util/dict_priv.h>
28 #include <freeradius-devel/util/dlist.h>
29 #include <freeradius-devel/util/talloc.h>
30 #include <freeradius-devel/util/value.h>
41 char const *attr,
size_t attr_len,
42 char const *
name,
size_t name_len,
43 char const *
value,
size_t value_len,
51 char const *ref,
size_t ref_len);
int dict_fixup_apply(dict_fixup_ctx_t *fctx)
Apply all outstanding fixes to a set of dictionaries.
int dict_fixup_group(dict_fixup_ctx_t *fctx, char const *filename, int line, fr_dict_attr_t *da, char const *ref)
Resolve a group reference.
int dict_fixup_enumv(dict_fixup_ctx_t *fctx, char const *filename, int line, char const *attr, size_t attr_len, char const *name, size_t name_len, char const *value, size_t value_len, fr_dict_attr_t const *parent)
Add an enumeration value to an attribute which has not yet been defined.
fr_dlist_head_t group
Group references to resolve.
int dict_fixup_init(TALLOC_CTX *ctx, dict_fixup_ctx_t *fctx)
Initialise a fixup ctx.
fr_dlist_head_t clone
Clone operation to apply.
fr_dlist_head_t enumv
Raw enumeration values to add.
TALLOC_CTX * pool
Temporary pool for fixups, reduces holes.
void dict_hash_tables_finalise(fr_dict_t *dict)
Walk a dictionary finalising the hash tables in all attributes with a distinct namespace.
int dict_fixup_clone(dict_fixup_ctx_t *fctx, char const *filename, int line, fr_dict_attr_t *parent, fr_dict_attr_t *da, char const *ref, size_t ref_len)
Clone one area of a tree into another.
Head of a doubly linked list.