[#SSL_CTX_sess_set_remove_cb] = SSL_CTX_sess_set_remove_cb :mrdocs: Set the callback invoked when a session is removed from an SSL context cache. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void SSL_CTX_sess_set_remove_cb( xref:SSL_CTX.adoc[SSL_CTX]* ctx, void(* remove_session_cb)(xref:ssl_ctx_st.adoc[ssl_ctx_st]*, xref:SSL_SESSION.adoc[SSL_SESSION]*)); ---- == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | SSL context whose session cache remove callback is set. | *remove_session_cb* | Callback receiving the context and the session being removed; NULL disables it. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#