24 #include <freeradius-devel/util/value.h>
47 return dv->
value->vb_uint32;
59 if (dv)
return dv->
name;
fr_dict_enum_value_t * fr_dict_enum_by_value(fr_dict_attr_t const *da, fr_value_box_t const *value)
Lookup the structure representing an enum value in a fr_dict_attr_t.
fr_value_box_t const * value
Enum value (what name maps to).
fr_dict_enum_value_t * fr_dict_enum_by_name(fr_dict_attr_t const *da, char const *name, ssize_t len)
char const * name
Enum name.
Value of an enumerated attribute.
eap_type_t eap_name2type(char const *name)
Return an EAP-Type for a particular name.
char const * eap_type2name(eap_type_t method)
Return an EAP-name for a particular type.
HIDDEN fr_dict_attr_t const * attr_eap_type
Types of values contained within an fr_value_box_t.
#define fr_box_uint32(_val)