[#OPENSSL_LH_set_thunks] = OPENSSL_LH_set_thunks :mrdocs: Install type‐safe thunk adapters used by DEFINE_LHASH_OF wrappers on `lh.` == Synopsis Declared in `<openssl/lhash.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:OPENSSL_LHASH.adoc[OPENSSL_LHASH]* OPENSSL_LH_set_thunks( xref:OPENSSL_LHASH.adoc[OPENSSL_LHASH]* lh, xref:OPENSSL_LH_HASHFUNCTHUNK.adoc[OPENSSL_LH_HASHFUNCTHUNK] hw, xref:OPENSSL_LH_COMPFUNCTHUNK.adoc[OPENSSL_LH_COMPFUNCTHUNK] cw, xref:OPENSSL_LH_DOALL_FUNC_THUNK.adoc[OPENSSL_LH_DOALL_FUNC_THUNK] daw, xref:OPENSSL_LH_DOALL_FUNCARG_THUNK.adoc[OPENSSL_LH_DOALL_FUNCARG_THUNK] daaw); ---- == Return Value `lh` on success (for chaining), or NULL on failure. == Parameters [cols="1,4"] |=== | Name| Description | *lh* | Hash table to configure (often freshly created by OPENSSL_LH_new()). | *hw* | Thunk that applies a typed hash function to a void* element. | *cw* | Thunk that applies a typed compare function to void* elements. | *daw* | Thunk that applies a typed doall callback to a void* element. | *daaw* | Thunk that applies a typed doall‐arg callback to void* element/arg. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#