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

An element in a list of nested attribute references. More...

#include <tmpl.h>

+ Collaboration diagram for tmpl_attr_t:

Public Member Functions

 FR_DLIST_ENTRY (tmpl_attr_list) _CONST entry
 Entry in the doubly linked list of attribute references. More...
 

Data Fields

union {
   struct {
fr_dict_attr_t *_CONST da
 Unknown dictionary attribute. More...
 
   } unknown
 
   struct {
char *_CONST name
 Undefined reference type. More...
 
   } unresolved
 
}; 
 
fr_dict_attr_t const *_CONST da
 Resolved dictionary attribute. More...
 
tmpl_attr_filter_t _CONST filter
 Filter associated with the attribute reference. More...
 
unsigned int _CONST is_raw: 1
 
fr_dict_attr_t const *_CONST parent
 The parent we used when trying to resolve the attribute originally. More...
 
unsigned int _CONST resolve_only: 1
 This reference and those before it. More...
 
tmpl_attr_type_t _CONST type
 is a raw reference More...
 

Detailed Description

An element in a list of nested attribute references.

Definition at line 427 of file tmpl.h.

Member Function Documentation

◆ FR_DLIST_ENTRY()

tmpl_attr_t::FR_DLIST_ENTRY ( tmpl_attr_list  )

Entry in the doubly linked list of attribute references.

Field Documentation

◆ 

union { ... }

◆ da

fr_dict_attr_t const* _CONST tmpl_attr_t::da

Resolved dictionary attribute.

Definition at line 431 of file tmpl.h.

◆ filter

tmpl_attr_filter_t _CONST tmpl_attr_t::filter

Filter associated with the attribute reference.

Definition at line 457 of file tmpl.h.

◆ is_raw

unsigned int _CONST tmpl_attr_t::is_raw

Definition at line 453 of file tmpl.h.

◆ parent

fr_dict_attr_t const* _CONST tmpl_attr_t::parent

The parent we used when trying to resolve the attribute originally.

Should point to the referenced attribute.

Definition at line 445 of file tmpl.h.

◆ resolve_only

unsigned int _CONST tmpl_attr_t::resolve_only

This reference and those before it.

in the list can only be used for resolution, not building out trees.

Definition at line 450 of file tmpl.h.

◆ type

tmpl_attr_type_t _CONST tmpl_attr_t::type

is a raw reference

Type of attribute reference.

Definition at line 455 of file tmpl.h.


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