mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-08 06:32:55 -04:00
* Switched to rsFiles interface for all File Information.
* added TMP p3Files class to interface with old system. * cleaned up old RsControl + RsIface file information. * removed unnecessary functions from RsServer. * Tweaked interfaces for ftServer + ftExtraList. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@630 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
6d3c5679c5
commit
be392405e8
14 changed files with 571 additions and 390 deletions
|
@ -92,13 +92,13 @@ bool addExtraFile(std::string path, std::string hash,
|
|||
**/
|
||||
|
||||
bool hashExtraFile(std::string path, uint32_t period, uint32_t flags);
|
||||
bool hashExtraFileDone(std::string path, FileDetails &details);
|
||||
bool hashExtraFileDone(std::string path, FileInfo &info);
|
||||
|
||||
/***
|
||||
* Search Function - used by File Transfer
|
||||
*
|
||||
**/
|
||||
bool searchExtraFiles(std::string hash, FileDetails &details);
|
||||
bool searchExtraFiles(std::string hash, FileInfo &info);
|
||||
|
||||
/***
|
||||
* Configuration - store extra files.
|
||||
|
@ -114,7 +114,7 @@ virtual bool loadList(std::list<RsItem *> load);
|
|||
RsMutex extMutex;
|
||||
|
||||
std::map<std::string, std::string> hashedList; /* path -> hash ( not saved ) */
|
||||
std::map<std::string, FileDetails> files;
|
||||
std::map<std::string, FileInfo> files;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue