The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Stores an attribute, a value and various bits of other data. More...
#include <pair.h>
Public Member Functions | |
FR_TLIST_ENTRY (fr_pair_order_list) _CONST order_entry | |
Entry to maintain relative order within a list. | |
Data Fields | ||
union { | ||
struct { | ||
fr_pair_list_t | children | |
Nested attributes of this pair. | ||
uint8_t | pad [offsetof(fr_value_box_t, safe_for)] | |
Force children field to come after the type field in the fr_value_box_t. | ||
} | ||
fr_value_box_t | data | |
The value of this pair. | ||
}; | ||
struct { | ||
fr_token_t | op | |
Operator to use when moving or inserting. | ||
}; | ||
fr_dict_attr_t const *_CONST | da | |
Dictionary attribute defines the attribute number, vendor and type of the pair. | ||
Stores an attribute, a value and various bits of other data.
fr_pair_ts are the main data structure used in the server
They also specify what behaviour should be used when the attribute is merged into a new list/tree.
value_pair_s::FR_TLIST_ENTRY | ( | fr_pair_order_list | ) |
Entry to maintain relative order within a list.
of pairs. This ensures pairs within the list are encoded in the same order as they were received or inserted.
union { ... } value_pair_s |
struct { ... } value_pair_s |
fr_dict_attr_t const* _CONST value_pair_s::da |
Dictionary attribute defines the attribute number, vendor and type of the pair.
Note: This should not be modified outside of pair.c except via fr_pair_reinit_from_da.