[#OSSL_STORE_LOADER_set_attach] = OSSL_STORE_LOADER_set_attach :mrdocs: Set the attach callback on a deprecated ENGINE‐based store loader. == Synopsis Declared in `<openssl/store.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int OSSL_STORE_LOADER_set_attach( xref:OSSL_STORE_LOADER.adoc[OSSL_STORE_LOADER]* loader, xref:OSSL_STORE_attach_fn.adoc[OSSL_STORE_attach_fn] attach_function); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value 1 on success, or 0 on error. == Parameters [cols="1,4"] |=== | Name| Description | *loader* | Loader from OSSL_STORE_LOADER_new(). | *attach_function* | Callback invoked by OSSL_STORE_attach(). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#