Radcli library 1.4.0
A simple radius library
Loading...
Searching...
No Matches
Data Fields
rc_value_pair Struct Reference

#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_pairnext
 
char pad [32]
 unused pad
 

Detailed Description

Avoid using this structure directly. Use the rc_avpair_get_ functions.

Examples
radexample.c.

Definition at line 478 of file radcli.h.

Field Documentation

◆ 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 481 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 483 of file radcli.h.

◆ name

char rc_value_pair::name[RC_NAME_LENGTH+1]

attribute name if known.

Definition at line 480 of file radcli.h.

◆ next

struct rc_value_pair* rc_value_pair::next
Examples
radexample.c.

Definition at line 485 of file radcli.h.

◆ pad

char rc_value_pair::pad[32]

unused pad

Definition at line 486 of file radcli.h.

◆ strvalue

char rc_value_pair::strvalue[AUTH_STRING_LEN+1]

contains attribute value in other cases.

Definition at line 484 of file radcli.h.

◆ type

rc_attr_type rc_value_pair::type

attribute type.

Definition at line 482 of file radcli.h.


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