mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-07 06:02:41 -04:00
Remove some cruft from p3peermgr
This commit is contained in:
parent
a259307218
commit
aabba04be9
2 changed files with 6 additions and 11 deletions
|
@ -3,8 +3,8 @@
|
||||||
* *
|
* *
|
||||||
* libretroshare: retroshare core library *
|
* libretroshare: retroshare core library *
|
||||||
* *
|
* *
|
||||||
* Copyright (C) 2007-2011 Robert Fernie *
|
* Copyright (C) 2007-2011 Robert Fernie <retroshare@lunamutt.com> *
|
||||||
* Copyright (C) 2015-2018 Gioacchino Mazzurco <gio@eigenlab.org> *
|
* Copyright (C) 2015-2019 Gioacchino Mazzurco <gio@eigenlab.org> *
|
||||||
* *
|
* *
|
||||||
* This program is free software: you can redistribute it and/or modify *
|
* This program is free software: you can redistribute it and/or modify *
|
||||||
* it under the terms of the GNU Lesser General Public License as *
|
* it under the terms of the GNU Lesser General Public License as *
|
||||||
|
@ -3154,4 +3154,4 @@ bool p3PeerMgrIMPL::removeUnusedLocations()
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
p3PeerMgr::~p3PeerMgr() = default;
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
* *
|
* *
|
||||||
* libretroshare: retroshare core library *
|
* libretroshare: retroshare core library *
|
||||||
* *
|
* *
|
||||||
* Copyright 2007-2011 by Robert Fernie <retroshare@lunamutt.com> *
|
* Copyright (C) 2007-2011 Robert Fernie <retroshare@lunamutt.com> *
|
||||||
|
* Copyright (C) 2015-2019 Gioacchino Mazzurco <gio@eigenlab.org> *
|
||||||
* *
|
* *
|
||||||
* This program is free software: you can redistribute it and/or modify *
|
* This program is free software: you can redistribute it and/or modify *
|
||||||
* it under the terms of the GNU Lesser General Public License as *
|
* it under the terms of the GNU Lesser General Public License as *
|
||||||
|
@ -112,8 +113,6 @@ class peerState
|
||||||
class RsNodeGroupItem;
|
class RsNodeGroupItem;
|
||||||
struct RsGroupInfo;
|
struct RsGroupInfo;
|
||||||
|
|
||||||
std::string textPeerState(peerState &state);
|
|
||||||
|
|
||||||
class p3LinkMgr;
|
class p3LinkMgr;
|
||||||
class p3NetMgr;
|
class p3NetMgr;
|
||||||
|
|
||||||
|
@ -123,10 +122,6 @@ class p3NetMgrIMPL;
|
||||||
class p3PeerMgr
|
class p3PeerMgr
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
p3PeerMgr() {}
|
|
||||||
virtual ~p3PeerMgr() {}
|
|
||||||
|
|
||||||
virtual bool addFriend( const RsPeerId &ssl_id, const RsPgpId &gpg_id,
|
virtual bool addFriend( const RsPeerId &ssl_id, const RsPgpId &gpg_id,
|
||||||
uint32_t netMode = RS_NET_MODE_UDP,
|
uint32_t netMode = RS_NET_MODE_UDP,
|
||||||
uint16_t vsDisc = RS_VS_DISC_FULL,
|
uint16_t vsDisc = RS_VS_DISC_FULL,
|
||||||
|
@ -242,7 +237,7 @@ virtual bool locked_computeCurrentBestOwnExtAddressCandidate(sockaddr_storage
|
||||||
/*************************************************************************************************/
|
/*************************************************************************************************/
|
||||||
/*************************************************************************************************/
|
/*************************************************************************************************/
|
||||||
|
|
||||||
|
virtual ~p3PeerMgr();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue