mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 06:35:08 -04:00
Completed most of ftserver class.
Also changes to make everything fit together. changes to Interface to support srcId list. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@675 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
d7e1a90c28
commit
189dcbb482
15 changed files with 512 additions and 166 deletions
|
@ -141,8 +141,8 @@ bool p3Files::FileControl(std::string hash, uint32_t flags)
|
|||
return false;
|
||||
}
|
||||
|
||||
bool p3Files::FileRequest(std::string fname, std::string hash,
|
||||
uint32_t size, std::string dest, uint32_t flags)
|
||||
bool p3Files::FileRequest(std::string fname, std::string hash, uint32_t size,
|
||||
std::string dest, uint32_t flags, std::list<std::string> srcIds)
|
||||
{
|
||||
lockRsCore(); /* LOCKED */
|
||||
|
||||
|
|
|
@ -57,8 +57,9 @@ virtual bool FileUploads(std::list<std::string> &hashs);
|
|||
virtual bool FileDetails(std::string hash, uint32_t hintflags, FileInfo &info);
|
||||
|
||||
/* 2) Control of Downloads. */
|
||||
virtual bool FileRequest(std::string fname, std::string hash,
|
||||
uint32_t size, std::string dest, uint32_t flags);
|
||||
virtual bool FileRequest(std::string fname, std::string hash, uint32_t size,
|
||||
std::string dest, uint32_t flags,
|
||||
std::list<std::string> srcIds);
|
||||
virtual bool FileCancel(std::string hash);
|
||||
virtual bool FileControl(std::string hash, uint32_t flags);
|
||||
virtual bool FileClearCompleted();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue