axl_bool myqtt_storage_retain_msg_recover ( MyQttCtx ctx,
const char *  topic_name,
MyQttQos qos,
unsigned char **  app_msg,
int *  app_msg_size 

Allows to recover retained message for the provided topic (if any).

ctxThe context where the operation takes place.
topic_nameThe topic name for which the retain message recovery will be attempted
qosA referece to hold recovered qos
app_msgA referece to hold recovered application message.
app_msg_sizeA reference to hold recovered application message size.
The function reports axl_true when the message was recovered. Otherwise, axl_false is reported.

References myqtt_support_build_filename().