axl_bool myqtt_storage_sub ( MyQttCtx ctx,
MyQttConn conn,
const char *  topic_filter,
MyQttQos  requested_qos 
)

Function to record subscription for the provided client at the current storage.

Parameters
ctxThe context where the storage operation takes place.
connThe connection for which the subscription will be stored.
topic_filterThe subscription's topic filter
requested_qosThe QoS requested by the application level.
Returns
axl_true in the case the operation was completed otherwise axl_false is returned.

References myqtt_storage_sub_offline().