[#OSSL_DECODER_CTX_add_decoder]
= OSSL&lowbar;DECODER&lowbar;CTX&lowbar;add&lowbar;decoder
:mrdocs:

Attach a fetched decoder implementation to a decoder context&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;add&lowbar;decoder(
    xref:OSSL_DECODER_CTX.adoc[OSSL&lowbar;DECODER&lowbar;CTX]* ctx,
    xref:OSSL_DECODER.adoc[OSSL&lowbar;DECODER]* decoder);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Decoder context to extend&period;
| *decoder*
| Decoder from OSSL&lowbar;DECODER&lowbar;fetch() (reference is up&hyphen;reffed)&period;
|===


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