Radcli library 1.3.1
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. More...
 
uint64_t attribute
 attribute numeric value of type rc_attr_id including vendor; use VENDOR() and ATTRID() to separate. More...
 
rc_attr_type type
 attribute type. More...
 
uint32_t lvalue
 attribute value if type is PW_TYPE_INTEGER, PW_TYPE_DATE or PW_TYPE_IPADDR. More...
 
char strvalue [AUTH_STRING_LEN+1]
 contains attribute value in other cases. More...
 
struct rc_value_pairnext
 
char pad [32]
 unused pad More...
 

Detailed Description

Avoid using this structure directly. Use the rc_avpair_get_ functions.

Examples
radexample.c.

Definition at line 475 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 478 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 480 of file radcli.h.

◆ name

char rc_value_pair::name[RC_NAME_LENGTH+1]

attribute name if known.

Definition at line 477 of file radcli.h.

◆ next

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

Definition at line 482 of file radcli.h.

◆ pad

char rc_value_pair::pad[32]

unused pad

Definition at line 483 of file radcli.h.

◆ strvalue

char rc_value_pair::strvalue[AUTH_STRING_LEN+1]

contains attribute value in other cases.

Definition at line 481 of file radcli.h.

◆ type

rc_attr_type rc_value_pair::type

attribute type.

Definition at line 479 of file radcli.h.


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