[#OSSL_DECODER_is_a]
= OSSL&lowbar;DECODER&lowbar;is&lowbar;a
:mrdocs:

Test whether a decoder implements the algorithm identified by `name&period;`

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OSSL&lowbar;DECODER&lowbar;is&lowbar;a(
    xref:OSSL_DECODER.adoc[OSSL&lowbar;DECODER] const* encoder,
    char const* name);
----

== Return Value

1 if `encoder` is identifiable as `name,` otherwise 0&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *encoder*
| Decoder to query&period;
| *name*
| Algorithm name or synonym to match&period;
|===


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