[#SSL_CTX_set_client_hello_cb]
= SSL&lowbar;CTX&lowbar;set&lowbar;client&lowbar;hello&lowbar;cb
:mrdocs:

Install a server callback invoked after each ClientHello is parsed&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
SSL&lowbar;CTX&lowbar;set&lowbar;client&lowbar;hello&lowbar;cb(
    xref:SSL_CTX.adoc[SSL&lowbar;CTX]* c,
    xref:SSL_client_hello_cb_fn.adoc[SSL&lowbar;client&lowbar;hello&lowbar;cb&lowbar;fn] cb,
    void* arg);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *c*
| Server SSL context that receives ClientHellos&period;
| *cb*
| Callback of type SSL&lowbar;client&lowbar;hello&lowbar;cb&lowbar;fn, or NULL to clear&period;
| *arg*
| Application pointer forwarded to `cb&period;`
|===


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