The FreeRADIUS server
$Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Extensions for dictionary definitions. More...
#include <freeradius-devel/util/dict.h>
#include <freeradius-devel/util/dict_ext.h>
#include <limits.h>
Go to the source code of this file.
Add extension structures to attributes | |
static void * | dict_attr_ext_alloc (fr_dict_attr_t **da_p, fr_dict_attr_ext_t ext) |
Allocate an attribute extension. More... | |
static void * | dict_attr_ext_alloc_size (fr_dict_attr_t **da_p, fr_dict_attr_ext_t ext, size_t ext_len) |
Allocate an attribute extension of a particular size. More... | |
static void * | dict_attr_ext_copy (fr_dict_attr_t **da_out_p, fr_dict_attr_t const *da_in, fr_dict_attr_ext_t ext) |
Copy a single attribute extension from one attribute to another. More... | |
static int | dict_attr_ext_copy_all (fr_dict_attr_t **da_out_p, fr_dict_attr_t const *da_in) |
Copy all attribute extensions from one attribute to another. More... | |
static void | dict_attr_ext_debug (char const *name, fr_dict_attr_t const *da) |
Print extension debug information for attributes. More... | |
static size_t | dict_attr_ext_len (fr_dict_attr_t const *da, fr_dict_attr_ext_t ext) |
Return the length of an attribute extension. More... | |
Convenience functions for populating attribute extensions | |
static fr_dict_attr_t const ** | dict_attr_children (fr_dict_attr_t const *da) |
static int | dict_attr_children_set (fr_dict_attr_t const *da, fr_dict_attr_t const **children) |
static fr_hash_table_t * | dict_attr_namespace (fr_dict_attr_t const *da) |
Return the namespace hash table associated with the attribute. More... | |
static int | dict_attr_ref_aset (fr_dict_attr_t **da_p, fr_dict_attr_t const *ref, fr_dict_attr_ref_type_t type) |
static int | dict_attr_ref_aunresolved (fr_dict_attr_t **da_p, char const *ref, fr_dict_attr_ref_type_t type) |
static int | dict_attr_ref_null (fr_dict_attr_t const *da) |
static int | dict_attr_ref_resolve (fr_dict_attr_t const *da, fr_dict_attr_t const *ref) |
static int | dict_attr_ref_set (fr_dict_attr_t const *da, fr_dict_attr_t const *ref, fr_dict_attr_ref_type_t type) |
Extensions for dictionary definitions.
Definition in file dict_ext_priv.h.
|
inlinestatic |
Definition at line 242 of file dict_ext_priv.h.
|
inlinestatic |
Definition at line 228 of file dict_ext_priv.h.
|
inlinestatic |
Allocate an attribute extension.
Definition at line 56 of file dict_ext_priv.h.
|
inlinestatic |
Allocate an attribute extension of a particular size.
Definition at line 43 of file dict_ext_priv.h.
|
inlinestatic |
Copy a single attribute extension from one attribute to another.
Definition at line 77 of file dict_ext_priv.h.
|
inlinestatic |
Copy all attribute extensions from one attribute to another.
Definition at line 90 of file dict_ext_priv.h.
|
inlinestatic |
Print extension debug information for attributes.
Definition at line 103 of file dict_ext_priv.h.
|
inlinestatic |
Return the length of an attribute extension.
Definition at line 69 of file dict_ext_priv.h.
|
inlinestatic |
Return the namespace hash table associated with the attribute.
[in] | da | to return the reference for. |
Definition at line 261 of file dict_ext_priv.h.
|
inlinestatic |
Definition at line 135 of file dict_ext_priv.h.
|
inlinestatic |
Definition at line 207 of file dict_ext_priv.h.
|
inlinestatic |
Definition at line 114 of file dict_ext_priv.h.
|
inlinestatic |
Definition at line 182 of file dict_ext_priv.h.
|
inlinestatic |
Definition at line 158 of file dict_ext_priv.h.