radcli_ctx_read_dictionary_from_buffer(3) Radius client library NAME radcli_ctx_read_dictionary_from_buffer - Load an additional attribute dictionary from an in-memory buffer. SYNOPSIS #include int radcli_ctx_read_dictionary_from_buffer( radcli_ctx *ctx, const char *buf, size_t size ); DESCRIPTION The from-buffer counterpart to radcli_ctx_read_dictionary(), for a caller that has dictionary text already in memory rather than in a file (e.g. a small, program-defined supplemental dictionary) added so a radcli2.h-only caller is not forced to reach into radcli.h's rc_read_dictionary_from_buffer() for this one operation. PARAMETERS ctx a context from radcli_ctx_new() or radcli_ctx_read_config(). buf the dictionary text. size buf's length in bytes. RETURN VALUE 0 on success, -1 on failure (a parse error, including a conflicting redefinition of an already-loaded attribute). 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_set_opt_int(3), radcli_ctx_set_opt_str(3), radcli_ctx_set_secret(3), radcli_ctx_set_tls_psk(3) radcli 2026-09-03 radcli_ctx_read_dictionary_from_buffer(3)