#include <radcli.h>
|
| char | name [RC_NAME_LENGTH+1] |
| | attribute name if known.
|
| uint64_t | attribute |
| | attribute numeric value of type rc_attr_id including vendor; use VENDOR() and ATTRID() to separate.
|
| rc_attr_type | type |
| | attribute type.
|
| uint32_t | lvalue |
| | attribute value if type is PW_TYPE_INTEGER, PW_TYPE_DATE or PW_TYPE_IPADDR.
|
| char | strvalue [AUTH_STRING_LEN+1] |
| | contains attribute value in other cases.
|
| struct rc_value_pair * | next |
| char | pad [32] |
| | unused pad
|
Avoid using this structure directly. Use rc_avpair_get_uint32() for integer/IPv4/date values, rc_avpair_get_in6() for IPv6 addresses and prefixes, rc_avpair_get_raw() for string/binary values, and rc_avpair_get_attr() to read the attribute type and ID. To iterate the list use rc_avpair_next(). Free the entire list with rc_avpair_free().
Definition at line 483 of file radcli.h.
◆ attribute
| uint64_t rc_value_pair::attribute |
attribute numeric value of type rc_attr_id including vendor; use VENDOR() and ATTRID() to separate.
Definition at line 486 of file radcli.h.
◆ lvalue
| uint32_t rc_value_pair::lvalue |
attribute value if type is PW_TYPE_INTEGER, PW_TYPE_DATE or PW_TYPE_IPADDR.
Definition at line 488 of file radcli.h.
◆ name
| char rc_value_pair::name[RC_NAME_LENGTH+1] |
attribute name if known.
Definition at line 485 of file radcli.h.
◆ next
◆ pad
| char rc_value_pair::pad[32] |
◆ strvalue
| char rc_value_pair::strvalue[AUTH_STRING_LEN+1] |
contains attribute value in other cases.
Definition at line 489 of file radcli.h.
◆ type
attribute type.
Definition at line 487 of file radcli.h.
The documentation for this struct was generated from the following file:
- /home/nmav/projects/radcli/include/radcli/radcli.h