rc_avpair_insert(3)

rc_avpair_insert3

Insert a value_pair into a list.

Usage

#include <radcli/>

void rc_avpair_insert(
    VALUE_PAIR  **a,
    VALUE_PAIR   *p,
    VALUE_PAIR   *b
);

Overview

Given the address of an existing list "a" and a pointer to an entry "p" in that list, add the value pair "b" to the "a" list after the "p" entry. If "p" is NULL, add the value pair "b" to the end of "a".

Parameters

a

a VALUE_PAIR array of values.

p

a pointer to a VALUE_PAIR in a.

b

The VALUE_PAIR pointer to add in a.

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.