radcli_ctx_set_opt_int(3)

πŸ“¦ version 2.0.1, in arch rolling

πŸ’– radcli_ctx_set_opt_int(3) πŸ’–

Hiii bestie 🫢 welcome to the radcli_ctx_set_opt_int(3) page from the Radius client library β€” it's giving "set an integer-typed config option" and honestly? iconic. ✨


✨ NAME ✨

radcli_ctx_set_opt_int β€” set an integer-typed configuration option. πŸ’…

🌸 SYNOPSIS 🌸

#include <radcli/>

int radcli_ctx_set_opt_int(
    radcli_ctx   *ctx,
    radcli_opt_id opt,
    long          val
);

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so this is the integer-option-setting function, and the deets are literally right below. No cap. πŸ‘‘

πŸŽ€ PARAMETERS πŸŽ€

  • ctx β€” a context from radcli_ctx_new(). 🫢
  • opt β€” the option to set; it MUST be RADCLI_OPT_TYPE_INT in RC_OPTION_TABLE (e.g. #RADCLI_OPT_RADIUS_TIMEOUT, #RADCLI_OPT_RADIUS_RETRIES). πŸ’…
  • val β€” the value. ✨

🌈 RETURN VALUE 🌈

0 on success, -1 on failure (as radcli_ctx_set_opt_str()). 😭

⭐ SEE ALSO ⭐


Source/version: radcli πŸ’– date: 2026-10-10 πŸŽ€ β€” k bye bestie, slay responsibly! πŸ‘‘πŸ¦‹

πŸ“¦ where this page comes from