typedef void(* VortexTlsActivation)(VortexConnection *connection, VortexStatus status, gchar *status_message, gpointer user_data)

Async notifications for TLS activation.

Once the process for TLS negotiation have started, using vortex_tls_start_negociation function, the status for such process is notified using this handler type definition.

The status value have to be checked in order to know if the transport negotiation have finished successfully. Along the previous variable, the status_message have a textual diagnostic about the current status received.

While invoking vortex_tls_start_negociation you could provide an user space pointer, using the user_data parameter. That user data is received on this handler.

Functions using this handler: vortex_tls_start_negociation

connection The connection where the TLS activation status is being notified.
status The process status.
status_message A textual message representing the process status.
user_data A user defined pointer established at function which received this handler.