[#OSSL_STORE_LOADER_set_expect] = OSSL_STORE_LOADER_set_expect :mrdocs: Set the expect 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_expect( xref:OSSL_STORE_LOADER.adoc[OSSL_STORE_LOADER]* loader, xref:OSSL_STORE_expect_fn.adoc[OSSL_STORE_expect_fn] expect_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(). | *expect_function* | Callback invoked by OSSL_STORE_expect(). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#