radcli_avp_...nt32_by_num(3)

๐Ÿ“ฆ version 2.0.1, in arch rolling

โœจ radcli_avp_add_uint32_by_num โ€” the by-num integer/IPv4/date one โœจ

okay so bestie, we're in the radcli manual (that's the Radius client library, iykyk) and this page is about radcli_avp_add_uint32_by_num. yes the header is all truncated like radcli_avp_...nt32_by_num(3) because even the manpage title ran out of room ๐Ÿ’€ but it's fine, we know her.


๐ŸŽ€ NAME ๐ŸŽ€

radcli_avp_add_uint32_by_num โ€” look up an attribute by its legacy numeric ID (the integer / IPv4-address / date-typed kind) and then append it. that's the whole vibe. ๐Ÿซถ


๐ŸŒธ SYNOPSIS ๐ŸŒธ

#include <radcli/>

int radcli_avp_add_uint32_by_num(
    radcli_avp_list   *list,
    const radcli_ctx  *ctx,
    uint32_t           attrid,
    uint32_t           vendor,
    uint32_t           value
);

copy that exactly bestie, character for character, no cap ๐Ÿ”ฅ


๐Ÿ’… DESCRIPTION ๐Ÿ’…

so likeโ€ฆ the description section in the source is literally empty. not a single word. she said "my NAME and my SYNOPSIS speak for themselves" and honestly? main character energy ๐Ÿ‘‘. everything you need is in the parameters below, fr fr.


๐Ÿฆ‹ PARAMETERS ๐Ÿฆ‹

  • list โ€” the destination list. where it's all going, bestie. ๐Ÿ“ฅ
  • ctx โ€” a context with a dictionary loaded. like, it has to have a dictionary, that's her whole thing. ๐Ÿงš
  • attrid โ€” the attribute ID. this is a PW_* constant, or a vendor type ID when vendor is non-zero. yes, that conditional matters, don't skip it. โญ
  • vendor โ€” the vendor PEN, or 0 for a standard attribute. zero means standard, periodt. ๐ŸŒˆ
  • value โ€” the value. and heads up: an IPv4 address is given in host byte order. not network, host. write that down ๐Ÿ™ˆ

๐Ÿ“ RETURN VALUE ๐Ÿ“

  • 0 on success โ€” slay ๐Ÿ’–
  • -1 on failure โ€” which happens when there's no such attribute, or as radcli_avp_add_uint32() does. ๐Ÿ˜ญ

๐Ÿ”ฎ SEE ALSO ๐Ÿ”ฎ

the whole by-num friend group, all of them, in the exact order the page gives:


ngl there are no warnings, no bugs section, and no examples on this page โ€” that's just how she is. don't go inventing any ๐Ÿ’€

and that's the page! brought to you by radcli, dated 2026-10-10, page radcli_avp_...nt32_by_num(3). mwah, go append some uint32s responsibly ๐Ÿ’…๐ŸŽ€โœจ

๐Ÿ“ฆ where this page comes from