table of contents
| radcli_ctx_get_opt_int(3) | Radius client library | radcli_ctx_get_opt_int(3) |
NAME¶
radcli_ctx_get_opt_int - Read back an integer-typed configuration option.
SYNOPSIS¶
#include <radcli/> int radcli_ctx_get_opt_int(
const radcli_ctx *ctx,
radcli_opt_id opt,
long *out );
DESCRIPTION¶
PARAMETERS¶
RETURN VALUE¶
0 on success, -1 on failure (NULL ctx or out, opt out of range, opt not RADCLI_OPT_TYPE_INT, or opt unset).
SEE ALSO¶
radcli_ctx_apply(3), radcli_ctx_free(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_int(3), radcli_ctx_set_opt_str(3), radcli_ctx_set_secret(3), radcli_ctx_set_tls_psk(3)
| 2026-11-15 | radcli |