The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Public Member Functions | Data Fields
value_pair_s Struct Reference

Stores an attribute, a value and various bits of other data. More...

#include <pair.h>

+ Collaboration diagram for value_pair_s:

Public Member Functions

 FR_TLIST_ENTRY (fr_pair_order_list) _CONST order_entry
 Entry to maintain relative order within a list. More...
 

Data Fields

union {
   struct {
fr_pair_list_t children
 Nested attributes of this pair. More...
 
uint8_t pad [offsetof(fr_value_box_t, type)+sizeof(fr_type_t)]
 Force children field to come after the type field in the fr_value_box_t. More...
 
   } 
 
fr_value_box_t data
 The value of this pair. More...
 
}; 
 
struct {
fr_token_t op
 Operator to use when moving or inserting. More...
 
}; 
 
fr_dict_attr_t const *_CONST da
 Dictionary attribute defines the attribute number, vendor and type of the pair. More...
 

Detailed Description

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.

Definition at line 68 of file pair.h.

Member Function Documentation

◆ FR_TLIST_ENTRY()

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.

Field Documentation

◆ 

union { ... }

◆ 

struct { ... }

◆ da

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.

Definition at line 69 of file pair.h.


The documentation for this struct was generated from the following file: