typedef gboolean(* VortexTlsAcceptQuery)(VortexConnection *connection, gchar *serverName)

Handler definition for those function used to configure if a given TLS request should be accepted or denied.

Once a TLS request is received this handler will be executed to notify user space application on top of Vortex Library if the request should be denied or not. The handler will receive the connection where the request was received and an optional value serverName which represents a request to act as the server name the value represent.

This handler definition is used by:

connection The connection where the TLS request was received.
serverName Optional serverName value requesting, if defined, to act as the server defined by this value.
TRUE if the TLS request should be accepted. FALSE to deny the session TLS-fication.