[#SSL_CTX_callback_ctrl]
= SSL&lowbar;CTX&lowbar;callback&lowbar;ctrl
:mrdocs:

Perform a low&hyphen;level control operation that takes a function&hyphen;pointer argument on an SSL context&period;

== Synopsis

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

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

== Return Value

Command&hyphen;specific long result&semi; prefer typed helpers over calling this directly&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| SSL context to manipulate&period;
| *cmd*
| Control command that expects a callback (see SSL&lowbar;CTRL&lowbar;&ast; helpers)&period;
| *fp*
| Callback pointer whose type and meaning depend on `cmd&period;`
|===


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