radcli_avp_get(3)
πΈ NAME πΈ
okay so bestie, welcome to radcli_avp_get(3) from the Radius client library β she's here to Find the idx-th occurrence of an attribute in a list, and she ate π
β¨
β¨ SYNOPSIS β¨
#include <radcli/>
const radcli_avp * radcli_avp_get(
const radcli_avp_list *list,
const radcli_attr_def *def,
unsigned idx
);
π«Ά DESCRIPTION π«Ά
bestie, this section is literally empty in the source β it's giving mysterious main character energy π. the real tea is in PARAMETERS below, iykyk π
π PARAMETERS π
listβ the list to search. πdefβ the attribute to look for. π―idxβ0for the first occurrence,1for the second, and so on. π’β¨
π₯ RETURN VALUE π₯
the matching attribute, or NULL if fewer than idx+1 occurrences exist. so if there aren't enough matches, you get NULL β periodt ππ«Ά
π SEE ALSO π
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_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(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)
π cute sign-off szn: brought to you by radcli, dated 2026-10-10, and the manual name is radcli_avp_get(3) β periodt, bestie π«Άπ
π¦ 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