int myqtt_storage_queued_messages_quota_offline ( MyQttCtx ctx,
const char *  client_identifier 
)

Allows to get current storage quota used by queued messages pending to be redelivered on next connection.

Parameters
ctxThe context where the operation takes place.
client_identifierThe client identifier to select the right local session according to its client identifier.
Returns
Quota used by the storage selected by the provided client_identifier.

References FILE_EXISTS, FILE_IS_REGULAR, myqtt_support_build_filename(), and myqtt_support_file_test().

Referenced by myqtt_storage_queued_messages_quota().