[#OSSL_SELF_TEST_get_callback]
= OSSL&lowbar;SELF&lowbar;TEST&lowbar;get&lowbar;callback
:mrdocs:

Retrieve the self&hyphen;test callback previously set on a library context&period;

== Synopsis

Declared in `&lt;openssl&sol;self&lowbar;test&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
OSSL&lowbar;SELF&lowbar;TEST&lowbar;get&lowbar;callback(
    xref:OSSL_LIB_CTX.adoc[OSSL&lowbar;LIB&lowbar;CTX]* libctx,
    xref:OSSL_CALLBACK.adoc[OSSL&lowbar;CALLBACK]** cb,
    void** cbarg);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *libctx*
| Library context, or NULL for the default&period;
| *cb*
| Address updated to the registered callback, or NULL if unset&period;
| *cbarg*
| Address updated to the opaque argument passed to the callback, or NULL if unset&period;
|===


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