int myqtt_storage_sub_count_offline ( MyQttCtx ctx,
const char *  client_identifier 
)

Allows to get current number of subscriptions registered on the storage for the provided client identifier.

Parameters
ctxThe context where the operation takes place.
client_identifierThe client identifier to get subscription count from.
Returns
Number of subscriptions.