[#OSSL_STORE_expect_fn]
= OSSL&lowbar;STORE&lowbar;expect&lowbar;fn
:mrdocs:

Deprecated loader callback implementing OSSL&lowbar;STORE&lowbar;expect()&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
typedef int(* OSSL&lowbar;STORE&lowbar;expect&lowbar;fn)(xref:OSSL_STORE_LOADER_CTX.adoc[OSSL&lowbar;STORE&lowbar;LOADER&lowbar;CTX]*, int);
----

== Return Value

1 on success, or 0 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Loader&hyphen;specific open context&period;
| *expected*
| Expected OSSL&lowbar;STORE&lowbar;INFO&lowbar;&ast; type, or 0&period;
|===


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