mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-25 07:25:36 -04:00
RsLoginHelper::createLocation expose capability of creating hidden locations
This commit is contained in:
parent
8f7bacbb35
commit
ab6a5c07cc
3 changed files with 11 additions and 5 deletions
|
@ -252,12 +252,15 @@ struct RsLoginHelper
|
|||
* @param[inout] location provide input information to generate the location
|
||||
* and storage to output the data of the generated location
|
||||
* @param[in] password to protect and unlock the associated PGP key
|
||||
* @param[in] makeHidden pass true to create an hidden location
|
||||
* @param[in] makeAutoTor pass true to create an automatically configured
|
||||
* Tor hidden location
|
||||
* @param[out] errorMessage
|
||||
* @return true if success, false otherwise
|
||||
*/
|
||||
bool createLocation( RsLoginHelper::Location& location,
|
||||
const std::string& password,
|
||||
std::string& errorMessage );
|
||||
const std::string& password, bool makeHidden,
|
||||
bool makeAutoTor, std::string& errorMessage );
|
||||
|
||||
/**
|
||||
* @brief Close RetroShare session
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue