axl_bool myqtt_storage_sub_offline ( MyQttCtx ctx,
const char *  client_identifier,
const char *  topic_filter,
MyQttQos  requested_qos 

Offline function to record subscription for the provided client identifer at the current storage.

ctxThe context where the storage operation takes place.
client_identifierThe client identifier where the store the subscription.
topic_filterThe subscription's topic filter
requested_qosThe QoS requested by the application level.
axl_true in the case the operation was completed otherwise axl_false is returned.

References FILE_EXISTS, FILE_IS_DIR, myqtt_mkdir(), myqtt_support_build_filename(), and myqtt_support_file_test().

Referenced by myqtt_storage_sub().