MyQttCtx * myqtt_conn_get_ctx ( MyQttConn connection)

Allows to get the context under which the connection was created.

connectionThe connection that is required to return the context under which it was created.
A reference to the context associated to the connection or NULL if it fails.

Referenced by myqtt_listener_accept_connection(), and myqtt_listener_shutdown().