typedef axl_bool(* VortexTlsAcceptQuery)(VortexConnection *connection, char *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:

Parameters:
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.
Returns:
axl_true if the TLS request should be accepted. axl_false to deny the session TLS-fication.