Extensions to dictionary structures.
More...
#include <freeradius-devel/util/dict_priv.h>
#include <freeradius-devel/util/dict_ext_priv.h>
Go to the source code of this file.
|
static int | dict_ext_protocol_specific_copy (UNUSED int ext, TALLOC_CTX *dst_chunk, void *dst_ext_ptr, size_t dst_ext_len, TALLOC_CTX const *src_chunk, void *src_ext_ptr, size_t src_ext_len) |
|
void | fr_dict_attr_ext_debug (fr_dict_attr_t const *da) |
|
static int | fr_dict_attr_ext_enumv_copy (UNUSED int ext, TALLOC_CTX *chunk_dst, UNUSED void *dst_ext_ptr, UNUSED size_t dst_ext_len, TALLOC_CTX const *chunk_src, void *src_ext_ptr, UNUSED size_t src_ext_len) |
| Copy all enumeration values from one attribute to another. More...
|
|
static int | fr_dict_attr_ext_name_fixup (UNUSED int ext, TALLOC_CTX *chunk, void *ext_ptr, UNUSED size_t ext_ptr_len) |
| Fixup name pointer on realloc. More...
|
|
static int | fr_dict_attr_ext_vendor_copy (UNUSED int ext, TALLOC_CTX *chunk_dst, void *dst_ext_ptr, UNUSED size_t dst_ext_len, UNUSED TALLOC_CTX const *chunk_src, void *src_ext_ptr, UNUSED size_t src_ext_len) |
| Rediscover the parent of this attribute, and cache it. More...
|
|
Extensions to dictionary structures.
- Copyright
- 2020 The FreeRADIUS server project
-
2020,2024 Arran Cudbard-Bell a.cud.nosp@m.bard.nosp@m.b@fre.nosp@m.erad.nosp@m.ius.o.nosp@m.rg
Definition in file dict_ext.c.
◆ dict_ext_protocol_specific_copy()
static int dict_ext_protocol_specific_copy |
( |
UNUSED int |
ext, |
|
|
TALLOC_CTX * |
dst_chunk, |
|
|
void * |
dst_ext_ptr, |
|
|
size_t |
dst_ext_len, |
|
|
TALLOC_CTX const * |
src_chunk, |
|
|
void * |
src_ext_ptr, |
|
|
size_t |
src_ext_len |
|
) |
| |
|
static |
◆ fr_dict_attr_ext_debug()
◆ fr_dict_attr_ext_enumv_copy()
static int fr_dict_attr_ext_enumv_copy |
( |
UNUSED int |
ext, |
|
|
TALLOC_CTX * |
chunk_dst, |
|
|
UNUSED void * |
dst_ext_ptr, |
|
|
UNUSED size_t |
dst_ext_len, |
|
|
TALLOC_CTX const * |
chunk_src, |
|
|
void * |
src_ext_ptr, |
|
|
UNUSED size_t |
src_ext_len |
|
) |
| |
|
static |
Copy all enumeration values from one attribute to another.
Definition at line 58 of file dict_ext.c.
◆ fr_dict_attr_ext_name_fixup()
static int fr_dict_attr_ext_name_fixup |
( |
UNUSED int |
ext, |
|
|
TALLOC_CTX * |
chunk, |
|
|
void * |
ext_ptr, |
|
|
UNUSED size_t |
ext_ptr_len |
|
) |
| |
|
static |
Fixup name pointer on realloc.
Definition at line 44 of file dict_ext.c.
◆ fr_dict_attr_ext_vendor_copy()
static int fr_dict_attr_ext_vendor_copy |
( |
UNUSED int |
ext, |
|
|
TALLOC_CTX * |
chunk_dst, |
|
|
void * |
dst_ext_ptr, |
|
|
UNUSED size_t |
dst_ext_len, |
|
|
UNUSED TALLOC_CTX const * |
chunk_src, |
|
|
void * |
src_ext_ptr, |
|
|
UNUSED size_t |
src_ext_len |
|
) |
| |
|
static |
Rediscover the parent of this attribute, and cache it.
Definition at line 110 of file dict_ext.c.
◆ dict_attr_ext_table
Initial value:= {
}
#define L(_str)
Helper for initialising arrays of string literals.
@ FR_DICT_ATTR_EXT_PROTOCOL_SPECIFIC
Protocol specific extensions.
@ FR_DICT_ATTR_EXT_ENUMV
Enumeration values.
@ FR_DICT_ATTR_EXT_NAMESPACE
Attribute has its own namespace.
@ FR_DICT_ATTR_EXT_DA_STACK
Cached da stack.
@ FR_DICT_ATTR_EXT_REF
Attribute references another attribute and/or dictionary.
@ FR_DICT_ATTR_EXT_VENDOR
Cached vendor pointer.
@ FR_DICT_ATTR_EXT_NAME
Name of the attribute.
@ FR_DICT_ATTR_EXT_CHILDREN
Attribute has children.
Definition at line 29 of file dict_ext.c.
◆ dict_attr_ext_table_len
◆ dict_enum_ext_table
Initial value:= {
}
@ FR_DICT_ENUM_EXT_UNION_REF
Reference to a union/subs-struct.
Definition at line 262 of file dict_ext.c.
◆ dict_enum_ext_table_len
◆ fr_dict_attr_ext_def
Holds additional information about extension structures.
Definition at line 213 of file dict_ext.c.
◆ fr_dict_enum_ext_def
Initial value:= {
.can_copy = true
},
}
}
Value of an enumerated attribute.
static size_t dict_enum_ext_table_len
static fr_table_num_ordered_t const dict_enum_ext_table[]
Enum extension - Sub-struct or union pointer.
Additional information for a given extension.
Holds additional information about extension structures.
Definition at line 275 of file dict_ext.c.