[#OSSL_DECODER_names_do_all]
= OSSL&lowbar;DECODER&lowbar;names&lowbar;do&lowbar;all
:mrdocs:

Invoke a callback for every name&sol;synonym associated with a decoder&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OSSL&lowbar;DECODER&lowbar;names&lowbar;do&lowbar;all(
    xref:OSSL_DECODER.adoc[OSSL&lowbar;DECODER] const* encoder,
    void(* fn)(char const*, void*),
    void* data);
----

== Return Value

1 if the callback was invoked for all names, or 0 if none were called&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *encoder*
| Decoder whose names are enumerated&period;
| *fn*
| Callback receiving each name and `data&period;`
| *data*
| Opaque argument passed to `fn&period;`
|===


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