rc_test_config(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_test_config(3) πŸ’–

okay so bestie, welcome to the Radius client library corner of the manual β€” this one's about rc_test_config, a lil function from the radcli squad ✨


πŸŽ€ NAME πŸŽ€

rc_test_config - (no cap, the original page leaves this bit blank, so we're just vibing with the name)


🌸 SYNOPSIS 🌸

#include <radcli/radcli.h>

int rc_test_config(
    rc_handle   *rh,
    char const  *filename
);

πŸ¦‹ DESCRIPTION πŸ¦‹

So basically? This function tests the configuration the user supplied. That's the whole gig. It looks at what you handed it and goes "hmm, is this config giving valid?" and lets you know. πŸ’…


✨ PARAMETERS ✨

  • rh β€” a handle to parsed configuration. it's your lil config bestie, already parsed and ready to be checked 🫢
  • filename β€” a name of a configuration file. yep, just the name, that's it πŸ“

πŸ’€ RETURN VALUE πŸ’€

  • 0 on success β€” slay, the config passed the vibe check πŸ‘‘
  • -1 when failure β€” it's giving invalid, bestie 😭

🌈 SEE ALSO 🌈

the whole friend group, fr fr:


that's the whole page, bestie. no notes, it ate πŸ’…βœ¨

signed, sealed, delivered by radcli, dated 2023-01-29 β€” mwah πŸŽ€

πŸ“¦ where this page comes from