void myqttd_ctx_set_myqtt_ctx ( MyQttdCtx ctx,
MyQttCtx myqtt_ctx 
)

Allows to configure the myqtt context (MyQttCtx) associated to the provided MyQttdCtx.

Parameters
ctxMyQttdCtx to be configured.
myqtt_ctxMyQtt context to be configured.

References myqtt_ctx_ref(), and myqtt_ctx_set_data().

Referenced by myqttd_init().