[#OSSL_DECODER_CTX_set_params]
= OSSL&lowbar;DECODER&lowbar;CTX&lowbar;set&lowbar;params
:mrdocs:

Apply an OSSL&lowbar;PARAM array to all decoders currently attached to `ctx&period;`

== Synopsis

Declared in `&lt;openssl&sol;decoder&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OSSL&lowbar;DECODER&lowbar;CTX&lowbar;set&lowbar;params(
    xref:OSSL_DECODER_CTX.adoc[OSSL&lowbar;DECODER&lowbar;CTX]* ctx,
    xref:OSSL_PARAM.adoc[OSSL&lowbar;PARAM] const params[]);
----

== Return Value

1 if recognized parameters were valid, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Decoder context whose decoders receive `params&period;`
| *params*
| Parameters to set&semi; unrecognized keys are ignored by implementations&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
