mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 22:25:04 -04:00
- Restored compilation of most tests (The part using previously named p3ConnectMgr is still to be done).
- moved ftSearchDummy and ftDataSendPair in tests/ft since it is only used there. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6009 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
6571279b70
commit
bc65dd40c2
48 changed files with 314 additions and 1797 deletions
|
@ -724,6 +724,14 @@ int FileIndex::cleanOldEntries(time_t old) /* removes entries older than old */
|
|||
|
||||
|
||||
|
||||
int FileIndex::printFileIndex(std::ostream &out)
|
||||
{
|
||||
std::string sout ;
|
||||
printFileIndex(sout) ;
|
||||
out << sout << std::endl;
|
||||
|
||||
return 1 ;
|
||||
}
|
||||
int FileIndex::printFileIndex(std::string &out)
|
||||
{
|
||||
out += "FileIndex::printFileIndex()\n";
|
||||
|
|
|
@ -227,6 +227,7 @@ class FileIndex
|
|||
|
||||
/* debug */
|
||||
int printFileIndex(std::string &out);
|
||||
int printFileIndex(std::ostream &out);
|
||||
|
||||
/* load/save to file */
|
||||
int loadIndex(const std::string& filename, const std::string& expectedHash, uint64_t size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue