rc_avpair_parse(3)

rc_avpair_parse3

Parses the buffer to extract the attribute-value pairs.

Usage

#include <radcli/>

int rc_avpair_parse(
    rc_handle const  *rh,
    char const       *buffer,
    VALUE_PAIR      **first_pair
);

Overview

Parameters

rh

a handle to parsed configuration.

buffer

the buffer to be parsed.

first_pair

an allocated array of values.

Return value

0 on successful parse of attribute-value pair, or -1 on syntax (or other) error detected.

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.