MyQttCtx* myqtt_msg_get_ctx ( MyQttMsg msg)

Allows to get the context reference under which the msg was created.

Parameters
msgThe msg that is required to return its context.
Returns
A reference to the context (MyQttCtx) or NULL if it fails.