void myqtt_tls_set_default_post_check ( MyQttCtx ctx,
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 per-connection handler you can use: myqtt_tls_set_default_post_check

Parameters
ctxThe context where the operation will be performed.
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_ctx_get_data().