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 VALUE_PAIR array of values. |
|---|---|
|
a pointer to a VALUE_PAIR in a. |
|
The VALUE_PAIR pointer to add in a. |
Releases
4 releases since Debian 11 (Bullseye); the text changed 1 time.