axlPointer myqtt_ctx_get_data ( MyQttCtx ctx,
const char *  key 

Allows to retreive data stored on the given context (myqtt_ctx_set_data) using the provided index key.

ctxThe context where to lookup the data.
keyThe key to use as index for the lookup.
A reference to the pointer stored or NULL if it fails.

References myqtt_hash_lookup().

Referenced by myqtt_listener_wait(), myqtt_tls_init(), myqtt_tls_listener_set_certificate_handlers(), myqtt_tls_set_default_post_check(), myqtt_tls_set_failure_handler(), and myqtt_web_socket_get_ctx().