rc_avpair_remove(3)

rc_avpair_remove3

Removes an attribute-value pair from the given list.

Usage

#include <radcli/>

void rc_avpair_remove(
    VALUE_PAIR  **list,
    uint32_t      attrid,
    uint32_t      vendorspec
);

Overview

See rc_avpair_assign() for the format of the data.

Parameters

list

a VALUE_PAIR array of values

attrid

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

vendorspec

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

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.