rc_avpair_tostr(3)

rc_avpair_tostr3

Translate an av_pair into printable strings.

Usage

#include <radcli/>

int rc_avpair_tostr(
    rc_handle const  *rh,
    VALUE_PAIR       *pair,
    char             *name,
    int               ln,
    char             *value,
    int               lv
);

Overview

Parameters

rh

a handle to parsed configuration.

pair

a pointer to a VALUE_PAIR structure.

name

the name of the pair.

ln

the size of name.

value

the value of the pair.

lv

the size of value.

Return value

0 on success, -1 on failure.

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.