added auto-remove of unused and dummy locations every 10 minutes (still keeping at least one location for each GPG key). Suppressed exchange of p3disc info for dummy locations.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3915 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2010-12-14 21:56:37 +00:00
parent 1495758d45
commit 98f471c56b
6 changed files with 239 additions and 148 deletions

View file

@ -183,6 +183,7 @@ virtual bool addFriend(const std::string &ssl_id, const std::string &gpg_id)
virtual bool addDummyFriend(const std::string &gpg_id) = 0; //we want to add a empty ssl friend for this gpg id
virtual bool isDummyFriend(const std::string &ssl_id) = 0;
virtual bool removeFriend(const std::string &ssl_or_gpg_id) = 0;
virtual bool cleanUnusedLocations() = 0 ;
/* Network Stuff */
virtual bool connectAttempt(const std::string &ssl_id) = 0;