[#EVP_KEYEXCH_names_do_all]
= EVP&lowbar;KEYEXCH&lowbar;names&lowbar;do&lowbar;all
:mrdocs:

Invoke a callback for every name associated with a key&hyphen;exchange algorithm&period;

== Synopsis

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

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

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *keyexch*
| Fetched key&hyphen;exchange implementation to enumerate names for&period;
| *fn*
| Callback receiving each name string and `data&period;`
| *data*
| User pointer passed through to `fn&period;`
|===


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