void myqtt_ctx_set_data ( MyQttCtx ctx,
const char *  key,
axlPointer  value 
)

Allows to store arbitrary data associated to the provided context, which can later retrieved using a particular key.

Parameters
ctxThe ctx where the data will be stored.
keyThe key to index the value stored. The key must be a string.
valueThe value to be stored.

References myqtt_ctx_set_data_full().

Referenced by myqtt_listener_unlock(), and myqttd_ctx_set_myqtt_ctx().