radcli_avp_get(3)

πŸ“¦ version 2.0.1, in arch rolling

🌸 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 β€” 0 for the first occurrence, 1 for 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 🌈


πŸ’Œ 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