rc_avpair_log(3)

rc_avpair_log3

Format a sequence of attribute value pairs into a printable string.

Usage

#include <radcli/>

char * rc_avpair_log(
    rc_handle const  *rh,
    VALUE_PAIR       *pair,
    char             *buf,
    size_t            buf_len
);

Overview

The caller should provide a storage buffer and the buffer length.

Parameters

rh

a handle to parsed configuration.

pair

a pointer to a VALUE_PAIR structure.

buf

will hold the string output of the pair.

buf_len

the size of buf.

Return value

a pointer to provided storage buffer.

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.