[#OPENSSL_LH_doall_arg]
= OPENSSL&lowbar;LH&lowbar;doall&lowbar;arg
:mrdocs:

Invoke `func` for every element in an LHASH, passing caller argument `arg&period;`

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
OPENSSL&lowbar;LH&lowbar;doall&lowbar;arg(
    xref:OPENSSL_LHASH.adoc[OPENSSL&lowbar;LHASH]* lh,
    xref:OPENSSL_LH_DOALL_FUNCARG.adoc[OPENSSL&lowbar;LH&lowbar;DOALL&lowbar;FUNCARG] func,
    void* arg);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *lh*
| Hash table to traverse&period;
| *func*
| Callback receiving each element pointer and `arg&period;`
| *arg*
| Opaque pointer forwarded to `func&period;`
|===


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