mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-08 00:55:13 -04:00
added update of last modif LS, and rsitems to update directories between friends
This commit is contained in:
parent
edc602f68f
commit
76831348e6
9 changed files with 129 additions and 67 deletions
|
@ -173,8 +173,16 @@ class p3FileDatabase: public p3Service, public p3Config, public ftSearch //, pub
|
|||
std::map<RsPeerId,uint32_t> mFriendIndexMap ;
|
||||
std::vector<RsPeerId> mFriendIndexTab;
|
||||
|
||||
// TS for friend list update
|
||||
time_t mLastRemoteDirSweepTS ;
|
||||
// Directory synchronization
|
||||
//
|
||||
struct DirSyncRequestData
|
||||
{
|
||||
time_t request_TS ;
|
||||
uint32_t flags ;
|
||||
};
|
||||
|
||||
time_t mLastRemoteDirSweepTS ; // TS for friend list update
|
||||
std::map<DirSyncRequestId,DirSyncRequestData> mPendingSyncRequests ; // pending requests, waiting for an answer
|
||||
|
||||
void locked_recursSweepRemoteDirectory(RemoteDirectoryStorage *rds,DirectoryStorage::EntryIndex e);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue