mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-07 14:12:43 -04:00
Extend JSON API to shutdown retroshare gracefully
This commit is contained in:
parent
0ff80baed3
commit
d511b6648e
5 changed files with 74 additions and 17 deletions
|
@ -229,6 +229,12 @@ struct RsLoginHelper
|
|||
bool createLocation( RsLoginHelper::Location& location,
|
||||
const std::string& password,
|
||||
std::string& errorMessage );
|
||||
|
||||
/**
|
||||
* @brief Close RetroShare session
|
||||
* @jsonapi{development}
|
||||
*/
|
||||
void closeSession();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue