radcli_avp_add_uint32(3)

radcli_avp_add_uint323

Append an integer/ipv4-address/date-typed attribute.

Usage

#include <radcli/>

int radcli_avp_add_uint32(
    radcli_avp_list        *list,
    const radcli_attr_def  *def,
    uint32_t                value
);

Overview

Parameters

list

destination list.

def

the attribute; must be RADCLI_TYPE_INTEGER, RADCLI_TYPE_IPADDR, or RADCLI_TYPE_DATE.

value

the value; an IPv4 address is given in host byte order.

Return value

0 on success, -1 on failure (def has none of the accepted types, or as radcli_avp_add_bytes()).

From radcli 2.0.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.