radcli_avp_get_uint64(3)

πŸ“¦ version 2.0.1, in arch rolling

πŸ’– radcli_avp_get_uint64(3) πŸ’–

okay so bestie, welcome to the Radius client library manual β€” specifically the radcli_avp_get_uint64(3) page. let's get into it 🫢


✨ NAME ✨

radcli_avp_get_uint64 β€” read an attribute's value as a 64-bit integer or ifid. πŸ’…


🌸 SYNOPSIS 🌸

#include <radcli/>

int radcli_avp_get_uint64(
    const radcli_avp  *a,
    uint64_t          *out
);

πŸ’… DESCRIPTION πŸ’…

lowkey this section is empty in the original β€” no extra lore here, bestie. the real tea is in PARAMETERS and RETURN VALUE. ✨


πŸŽ€ PARAMETERS πŸŽ€

  • a β€” the attribute, bestie. radcli_avp_def(a) must be RADCLI_TYPE_INTEGER64 or RADCLI_TYPE_IFID see radcli_avp_add_uint64() for why the two types share this getter. πŸ‘‘
  • out β€” where to write the value (a big-endian uint64_t for RADCLI_TYPE_IFID); may be NULL to just check validity. πŸ¦‹

πŸ”₯ RETURN VALUE πŸ”₯

  • 0 on success. slay βœ…
  • -1 if a's type is neither. πŸ’€

🌈 SEE ALSO 🌈

the whole squad, no cap:


mwah πŸ’‹ β€” this page is from the radcli source/version, dated 2026-10-10, and it's the radcli_avp_get_uint64(3) page. bye bestie! πŸŽ€

πŸ“¦ where this page comes from