rc_avpair_get(3)

rc_avpair_get3

Find the first attribute value-pair (which matches the given attribute) from the specified value-pair list.

Usage

#include <radcli/>

VALUE_PAIR * rc_avpair_get(
    VALUE_PAIR  *vp,
    uint32_t     attrid,
    uint32_t     vendorspec
);

Overview

Parameters

vp

a pointer to a VALUE_PAIR structure.

attrid

The attribute of the pair to find (e.g., PW_USER_NAME).

vendorspec

The vendor ID in case of a vendor specific value - 0 otherwise.

Return value

the value pair found.

Releases

4 releases since Debian 11 (Bullseye); the text changed 1 time.

  1. 11–13
  2. Arch

From radcli 2.0.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.