[#SSL_CTX_set_async_callback_arg]
= SSL&lowbar;CTX&lowbar;set&lowbar;async&lowbar;callback&lowbar;arg
:mrdocs:

Set the user argument passed to the context&apos;s asynchronous completion callback&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
SSL&lowbar;CTX&lowbar;set&lowbar;async&lowbar;callback&lowbar;arg(
    xref:SSL_CTX.adoc[SSL&lowbar;CTX]* ctx,
    void* arg);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| SSL context whose async callback receives `arg&period;`
| *arg*
| Pointer forwarded to the async callback when a crypto operation completes&period;
|===


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