radcli_ctx_set_opt_int - Man Page
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
Parameters
- ctx
a context from radcli_ctx_new().
- opt
the option to set; 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
radcli_ctx_apply(3), radcli_ctx_free(3), radcli_ctx_get_opt_int(3), radcli_ctx_get_opt_str(3), radcli_ctx_new(3), radcli_ctx_read_config(3), radcli_ctx_read_dictionary(3), radcli_ctx_read_dictionary_from_buffer(3), radcli_ctx_set_opt_str(3), radcli_ctx_set_secret(3), radcli_ctx_set_tls_psk(3)
Info
2026-09-03 radcli Radius client library