radcli_avp_get_uint32(3)
π NAME π
okay so bestie, this is radcli_avp_get_uint32(3) from the Radius client library β manual name folded in near the top, as promised π«Ά. It does one iconic thing: Read an attribute's value as an integer/IPv4-address/date. That's the whole vibe. periodt. β¨
β¨ SYNOPSIS β¨
here's the exact signature, no cap:
#include <radcli/>
int radcli_avp_get_uint32(
const radcli_avp *a,
uint32_t *out
);
πΈ DESCRIPTION πΈ
There's literally no extra prose in the DESCRIPTION section β the actual tea is all in PARAMETERS below. Not me leaving it empty and still making it cute ππ .
π PARAMETERS π
aβ the attribute, bestie.radcli_avp_def(a)must beRADCLI_TYPE_INTEGER,RADCLI_TYPE_IPADDR, orRADCLI_TYPE_DATE. An IPv4 address is returned in host byte order. yes, host byte order β write that down π.outβ where to write the value. It may beNULLto just check validity. lowkey useful for a vibe check β .
π₯ RETURN VALUE π₯
0β success, we love to see it π.-1βa's type does not match. That's the whole return contract, fr fr π.
π¦ SEE ALSO π¦
go read these too, iykyk π:
radcli_avp_add_bytes(3)radcli_avp_add_bytes_by_num(3)radcli_avp_add_gigawords64(3)radcli_avp_add_gigawords64_by_num(3)radcli_avp_add_ip4(3)radcli_avp_add_ip4_by_num(3)radcli_avp_add_ip4prefix(3)radcli_avp_add_ip4prefix_by_num(3)radcli_avp_add_ip6(3)radcli_avp_add_ip6_by_num(3)radcli_avp_add_str(3)radcli_avp_add_str_by_num(3)radcli_avp_add_uint32(3)radcli_avp_add_uint32_by_num(3)radcli_avp_add_uint64(3)radcli_avp_add_uint64_by_num(3)radcli_avp_add_username(3)radcli_avp_concat_str(3)radcli_avp_concat_str_by_num(3)radcli_avp_def(3)radcli_avp_get(3)radcli_avp_get_by_num(3)radcli_avp_get_bytes(3)radcli_avp_get_bytes_by_num(3)radcli_avp_get_cstr(3)radcli_avp_get_cstr_by_num(3)radcli_avp_get_gigawords64(3)radcli_avp_get_gigawords64_by_num(3)radcli_avp_get_ip4prefix(3)radcli_avp_get_ip4prefix_by_num(3)radcli_avp_get_ip6(3)radcli_avp_get_ip6_by_num(3)radcli_avp_get_uint32_by_num(3)radcli_avp_get_uint64(3)radcli_avp_get_uint64_by_num(3)radcli_avp_iter_next(3)radcli_avp_list_error(3)radcli_avp_list_free(3)radcli_avp_list_iter(3)radcli_avp_list_new(3)
xoxo, this page is from radcli, dated 2026-10-10 β catch you in the next manpage π
π«ΆπΈ
π¦ where this page comes from
- arch rolling: radcli 2.0.1-1 Β· BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms