void vortex_tls_set_failure_handler ( VortexCtx ctx,
VortexTlsFailureHandler  failure_handler,
axlPointer  user_data 

Allows to configure a failure handler that will be called when a failure is found at SSL level or during the handshake with the particular function failing.

ctxThe context that will be configured with the failure handler.
failure_handlerThe failure handler to be called when an error is found.
user_dataOptional user pointer to be passed into the function when the handler is called.

References vortex_ctx_get_data().