rc_dict_getattr(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_getattr(3) ✨

okay bestie, welcome to the rc_dict_getattr page from the Radius client library manual (section 3, the library-calls girlies πŸ’…). this is a lil function that goes digging in your dictionary for you. no cap, it's short and sweet. let's get into it 🫢


🌸 NAME 🌸

rc_dict_getattr β€” (yes the description is literally just a dash in the original, iconic minimalism, we love a mysterious queen πŸ‘‘) but fr fr it's your lookup bestie for dictionary attributes.


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <radcli/radcli.h>

DICT_ATTR * rc_dict_getattr(
    rc_handle const  *rh,
    uint64_t          attribute
);

πŸ’– DESCRIPTION πŸ’–

so the vibe here is: you hand it an attribute number, and it goes and finds you the matching DICT_ATTR. that's the whole plot. Lookup a DICT_ATTR by attribute number β€” short, sweet, does exactly what it says on the tin, periodt ✨


πŸŽ€ PARAMETERS πŸŽ€

  • rh β€” a handle to parsed configuration. yep, the whole config situation has to be parsed already, she needs her context 🧚
  • attribute β€” the attribute ID. like, the number that identifies which attribute you want. that's it, that's the girl 🌈

πŸ’œ RETURN VALUE πŸ’œ

you get back the full attribute structure based on the attribute id number. the whole structure, not a peek, not a crumb β€” the full thing πŸ“


🌈 SEE ALSO 🌈

a whole friend group of related calls, go say hi to all of them πŸ’–:


okay that's the whole page bestie, you ate that reading, so proud πŸ₯ΉπŸ’–

radcli Β· 2023-01-29 Β· and that's the sign-off, mwah, go forth and look up your attributes πŸ’…βœ¨

πŸ“¦ where this page comes from