mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-22 07:41:20 -04:00
Squeleton code for the global routing matrix. Most functions are left unimplemented, but
the basic structure is here. Functions have been added to serialise both SHA1 and floats. The router is not yet enabled since protocol is likely to change again. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6886 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
261d9102d4
commit
e0863194a3
18 changed files with 1241 additions and 4 deletions
|
@ -133,7 +133,7 @@ void RsItem::print_string(std::string &out, uint16_t indent)
|
|||
|
||||
out += stream.str();
|
||||
}
|
||||
uint32_t RsItem::PacketId()
|
||||
uint32_t RsItem::PacketId() const
|
||||
{
|
||||
return type;
|
||||
}
|
||||
|
@ -226,7 +226,7 @@ RsItem * RsSerialType::deserialise(void */*data*/, uint32_t */*size*/)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
uint32_t RsSerialType::PacketId()
|
||||
uint32_t RsSerialType::PacketId() const
|
||||
{
|
||||
return type;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue