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

Value pair map. More...

#include <map.h>

+ Collaboration diagram for map_s:

Public Member Functions

 FR_DLIST_ENTRY (map_list) entry
 List entry. More...
 

Data Fields

fr_type_t cast
 Cast value to this type. More...
 
map_list_t child
 parent map, for nested ones More...
 
CONF_ITEMci
 Config item that the map was created from. More...
 
tmpl_tlhs
 Typically describes the attribute to add, modify or compare. More...
 
fr_token_t op
 The operator that controls insertion of the dst attribute. More...
 
map_tparent
 
tmpl_trhs
 Typically describes a literal value or a src attribute to copy or compare. More...
 

Detailed Description

Value pair map.

Value pair maps contain a pair of templates, that describe a src attribute or value, and a destination attribute.

Neither src or dst need to be an FR attribute, and their type can be inferred from whether map->da is NULL (not FR).

See also
tmpl_t

Definition at line 77 of file map.h.

Member Function Documentation

◆ FR_DLIST_ENTRY()

map_s::FR_DLIST_ENTRY ( map_list  )

List entry.

Field Documentation

◆ cast

fr_type_t map_s::cast

Cast value to this type.

Definition at line 83 of file map.h.

◆ child

map_list_t map_s::child

parent map, for nested ones

a child map. If it exists, rhs MUST be NULL

Definition at line 89 of file map.h.

◆ ci

CONF_ITEM* map_s::ci

Config item that the map was created from.

Mainly used for logging validation errors.

Definition at line 85 of file map.h.

◆ lhs

tmpl_t* map_s::lhs

Typically describes the attribute to add, modify or compare.

Definition at line 78 of file map.h.

◆ op

fr_token_t map_s::op

The operator that controls insertion of the dst attribute.

Definition at line 82 of file map.h.

◆ parent

map_t* map_s::parent

Definition at line 88 of file map.h.

◆ rhs

tmpl_t* map_s::rhs

Typically describes a literal value or a src attribute to copy or compare.

Definition at line 79 of file map.h.


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