mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-10 10:05:19 -04:00
Commit of the new UDP Connection methods and
the rewrite of the retroshare core networking stack. This check-in commits the changes to the rsserver code. Major changes to use the new networking code. Added p3peers.h as a new interface for peer/neighbour management. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@314 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
7c2d5611bd
commit
fd8adceb7e
13 changed files with 1039 additions and 701 deletions
|
@ -29,18 +29,6 @@
|
|||
#include "rsiface/rsiface.h"
|
||||
#include "util/rsdir.h"
|
||||
|
||||
const NeighbourInfo *RsIface::getFriend(std::string id)
|
||||
{
|
||||
RsCertId cid(id);
|
||||
std::map<RsCertId,NeighbourInfo>::const_iterator it;
|
||||
it = mFriendMap.find(cid);
|
||||
if (it == mFriendMap.end())
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
return &(it -> second);
|
||||
}
|
||||
|
||||
const DirInfo *RsIface::getDirectory(std::string id, std::string path)
|
||||
{
|
||||
const DirInfo *dir = getDirectoryMod(id, path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue