axlList* myqtt_storage_get_retained_topics ( MyQttCtx ctx,
const char *  topic_filter 
)

Allows to get the list of topics with message retention stored, filtered by the provided topic_filter.

Parameters
ctxThe context where the operation takes place
topic_filterThe filter to allow selecting those topics that matches and have a message pending due to retain flag configured in the last publish
Returns
A list of retained topics or NULL if it fails. The list returned may be empty. Use axl_list_free (to release result reported).

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