[#SSL_CTX_sess_get_new_cb]
= SSL&lowbar;CTX&lowbar;sess&lowbar;get&lowbar;new&lowbar;cb
:mrdocs:

Return the new&hyphen;session callback previously set on `ctx&period;`

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int(*
SSL&lowbar;CTX&lowbar;sess&lowbar;get&lowbar;new&lowbar;cb(xref:SSL_CTX.adoc[SSL&lowbar;CTX]* ctx))(xref:ssl_st.adoc[ssl&lowbar;st]*, xref:SSL_SESSION.adoc[SSL&lowbar;SESSION]*);
----

== Return Value

Pointer to the callback, or NULL if unset&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| SSL&lowbar;CTX to query&period;
|===


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