radcli_avp_...nt64_by_num(3)

πŸ“¦ version 2.0.1, in arch rolling

🌸 NAME 🌸

radcli_avp_add_uint64_by_num β€” look up a 64-bit integer-typed attribute by its legacy numeric ID and append it. This manual page is radcli_avp_...nt64_by_num(3) from the Radius client library, and it's giving β€œshort name, full function” energy. bestie, the ellipsis is literally part of the page name, iykyk. πŸ’…

✨ SYNOPSIS ✨

okay so the exact signature is right here, no cap:

#include <radcli/>

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

πŸ’– DESCRIPTION πŸ’–

The DESCRIPTION section is lowkey serving minimalism: this function looks up a 64-bit integer-typed attribute by legacy numeric ID and appends it. The actual parameter tea is right below. periodt. πŸ¦‹

πŸŽ€ PARAMETERS πŸŽ€

  • list β€” the destination list. That's where the attribute goes.
  • ctx β€” a context with a dictionary loaded. This one wants a context with a dictionary loaded.
  • attrid β€” the attribute ID (a PW_* constant, or a vendor type ID when vendor is non-zero).
  • vendor β€” the vendor PEN, or 0 for a standard attribute.
  • value β€” the value. That's it, that's the value. ✨

πŸ”₯ RETURN VALUE πŸ”₯

  • 0 β€” success, slay. ✨
  • -1 β€” failure (no such attribute, or as radcli_avp_add_uint64()). πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

xoxo, your radcli bestie β€” page dated 2026-10-10 πŸ’–

πŸ“¦ where this page comes from