void myqtt_tls_set_post_check ( MyQttConn connection,
MyQttTlsPostCheck  post_check,
axlPointer  user_data 
)

Allows to configure a function that will be executed at the end of the TLS process, before returning the connection to the application level.

See MyQttTlsPostCheck for more information.

If you want to configure a global handler to be called for all connections, you can use the default handler: myqtt_tls_set_default_post_check

Parameters
connectionThe connection to be post-checked.
post_checkThe handler to be called once required to perform the post-check. Passing a NULL value to this handler uninstall previous check installed.
user_dataUser defined data, that is passed to the handler provided (post_check).

References myqtt_conn_set_data().