RsFiles::parseFilesLink support old link formats

This commit is contained in:
Gioacchino Mazzurco 2020-03-25 01:31:58 +01:00
parent 8b4fcbe9e0
commit 198fa7d8bc
No known key found for this signature in database
GPG key ID: A1FBCA3872E87051
2 changed files with 60 additions and 2 deletions

View file

@ -948,8 +948,9 @@ public:
/**
* @brief Parse RetroShare files link
* @jsonapi{development}
* @param[in] link files link either in radix or URL format
* @param[out] collection optional storage for parsed files link
* Support also old RetroShare-gui file and collections links format.
* @param[in] link files link either in base64 or URL format
* @param[out] collection storage for parsed files link
* @return error information if some error occurred, 0/SUCCESS otherwise
*/
virtual std::error_condition parseFilesLink(