rc_dict_findvend(3)

πŸ“¦
version 1.5.2 Β· 4 versions
, in alpine 3.24, epel 10, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

✨ rc_dict_findvend(3) ✨

okay bestie, gather round 🫢 this one lives in section 3 of the manual, and it's part of the Radius client library β€” the radcli crew. it's giving "tiny function, huge friend group" because the SEE ALSO list at the bottom is literally a whole group chat. πŸ’…


🌸 NAME 🌸

rc_dict_findvend -

(yeah bestie, the description is just a lil dash. the manpage said nothing more and honestly? iconic minimalism. the real tea is below πŸ‘‡)


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <radcli/radcli.h>

DICT_VENDOR * rc_dict_findvend(
    rc_handle const  *rh,
    char const       *vendorname
);

so you pull in <radcli/radcli.h> and boom, you've got a function that hands you back a DICT_VENDOR *. slay. ✨


πŸ’– DESCRIPTION πŸ’–

Lookup a DICT_VENDOR by its name.

that's it. that's the whole vibe. you give it a name, it goes digging, it finds the vendor. no cap. πŸ”


πŸŽ€ PARAMETERS πŸŽ€

  • rh β€” a handle to parsed configuration. this is your lil passport to everything that got parsed earlier, so keep it close. 🫢
  • vendorname β€” the vendor name. literally the name of the vendor. the thing you're searching for. the main character of this search. πŸ‘‘

🌈 RETURN VALUE 🌈

the full vendor structure based on the vendor name. yes bestie, the whole structure β€” not a snippet, not a teaser, the full thing. πŸ’–


πŸ‘‘ SEE ALSO πŸ‘‘

the squad. the whole squad. fr fr:

not me listing the entire friend group πŸ’€ but they all showed up in the original so they all show up here. no one gets left on read.

and that's the whole page, bestie!! πŸŽ€ this lil number comes to you from radcli, dated 2023-01-29 β€” go find your vendor, you've absolutely got this. mwah. πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from