|
Radcli library 1.4.0
A simple radius library
|
#include <radcli.h>
Data Fields | |
| 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 the rc_avpair_get_ functions.
| uint64_t rc_value_pair::attribute |
| uint32_t rc_value_pair::lvalue |
| char rc_value_pair::name[RC_NAME_LENGTH+1] |
| struct rc_value_pair* rc_value_pair::next |
| char rc_value_pair::strvalue[AUTH_STRING_LEN+1] |
| rc_attr_type rc_value_pair::type |