mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-10 10:05:19 -04:00
Merged branch commits:
3068: added verification for file size computation (bug correction) 3069: set heartbeat values to intermediate values 3070: suppressed uninitialised memory read 3071: automatic removal of file lists from deleted peers, at restart (After double check that this does not alter exchange of file lists in any way) git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3072 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
0470477bcc
commit
7b0757c4bc
9 changed files with 73 additions and 39 deletions
|
@ -34,6 +34,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
class p3ConnectMgr ;
|
||||
|
||||
#include "dbase/findex.h"
|
||||
#include "dbase/cachestrapper.h"
|
||||
#include "rsiface/rsiface.h"
|
||||
|
@ -63,8 +65,7 @@ class FileIndexStore: public CacheStore
|
|||
{
|
||||
public:
|
||||
|
||||
FileIndexStore(CacheStrapper *cs, CacheTransfer *cft, NotifyBase *cb_in,
|
||||
RsPeerId ownid, std::string cachedir);
|
||||
FileIndexStore(CacheStrapper *cs, CacheTransfer *cft, NotifyBase *cb_in,p3ConnectMgr *cmgr, RsPeerId ownid, std::string cachedir);
|
||||
virtual ~FileIndexStore();
|
||||
|
||||
/* virtual functions overloaded by cache implementor */
|
||||
|
@ -94,6 +95,7 @@ virtual int loadCache(const CacheData &data); /* actual load, once data availa
|
|||
FileIndex *localindex;
|
||||
|
||||
NotifyBase *cb;
|
||||
p3ConnectMgr *mConnMgr ;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue