mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-31 10:19:24 -04:00
Turned RsInit into a static class, and changed retroshare invite so that it does not contain signatures anymore.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1022 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
b9abc24e5c
commit
78c07ca367
18 changed files with 589 additions and 464 deletions
|
@ -78,11 +78,11 @@ public:
|
|||
}
|
||||
****/
|
||||
|
||||
ftFileStatus(std::string name_in, std::string hash_in, uint64_t size_in,
|
||||
std::string destpath_in, uint32_t mode_in)
|
||||
ftFileStatus(const std::string& name_in, const std::string& hash_in, uint64_t size_in,
|
||||
const std::string& destpath_in, uint32_t mode_in)
|
||||
:name(name_in), hash(hash_in), destpath(destpath_in), size(size_in), ftMode(mode_in),
|
||||
status(PQIFILE_INIT), mode(0), rate(0), fd(NULL), total_size(0), recv_size(0),
|
||||
req_loc(0), req_size(0), lastTS(0), lastDelta(0)
|
||||
req_loc(0), req_size(0), lastTS(0), lastDelta(0),file_name(""),id("")
|
||||
{
|
||||
/* not set ...
|
||||
* id,
|
||||
|
@ -92,11 +92,11 @@ public:
|
|||
return;
|
||||
}
|
||||
|
||||
ftFileStatus(std::string id_in, std::string name_in, std::string hash_in, uint64_t size_in,
|
||||
std::string destpath_in, uint32_t mode_in)
|
||||
ftFileStatus(const std::string& id_in, const std::string& name_in, const std::string& hash_in, uint64_t size_in,
|
||||
const std::string& destpath_in, uint32_t mode_in)
|
||||
:id(id_in), name(name_in), hash(hash_in), destpath(destpath_in), size(size_in), ftMode(mode_in),
|
||||
status(PQIFILE_INIT), mode(0), rate(0), fd(NULL), total_size(0), recv_size(0),
|
||||
req_loc(0), req_size(0), lastTS(0), lastDelta(0)
|
||||
req_loc(0), req_size(0), lastTS(0), lastDelta(0),file_name("")
|
||||
{
|
||||
/* not set ...
|
||||
* id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue