mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-13 16:39:43 -05:00
* Removed list<IpAddressTimed> from callback
This functionality might need to be restored later, but should be done with list<> for both Local and Remote Addrs. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3215 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
ab3b044791
commit
00d0d999dc
@ -44,7 +44,7 @@ pqiConnectCbDummy::~pqiConnectCbDummy()
|
|||||||
}
|
}
|
||||||
|
|
||||||
void pqiConnectCbDummy::peerStatus(std::string id,
|
void pqiConnectCbDummy::peerStatus(std::string id,
|
||||||
struct sockaddr_in laddr, struct sockaddr_in raddr, std::list<IpAddressTimed> ipAddressList,
|
struct sockaddr_in laddr, struct sockaddr_in raddr,
|
||||||
uint32_t type, uint32_t mode, uint32_t source)
|
uint32_t type, uint32_t mode, uint32_t source)
|
||||||
{
|
{
|
||||||
std::cerr << "pqiConnectCbDummy::peerStatus()";
|
std::cerr << "pqiConnectCbDummy::peerStatus()";
|
||||||
|
@ -34,7 +34,6 @@
|
|||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <list>
|
#include <list>
|
||||||
#include "serialiser/rsconfigitems.h"
|
|
||||||
|
|
||||||
/************** Define Type/Mode/Source ***************/
|
/************** Define Type/Mode/Source ***************/
|
||||||
|
|
||||||
@ -109,7 +108,7 @@ class pqiConnectCb
|
|||||||
public:
|
public:
|
||||||
virtual ~pqiConnectCb() { return; }
|
virtual ~pqiConnectCb() { return; }
|
||||||
virtual void peerStatus(std::string id,
|
virtual void peerStatus(std::string id,
|
||||||
struct sockaddr_in laddr, struct sockaddr_in raddr, std::list<IpAddressTimed> ipAddressList,
|
struct sockaddr_in laddr, struct sockaddr_in raddr,
|
||||||
uint32_t type, uint32_t flags, uint32_t source) = 0;
|
uint32_t type, uint32_t flags, uint32_t source) = 0;
|
||||||
|
|
||||||
virtual void peerConnectRequest(std::string id,
|
virtual void peerConnectRequest(std::string id,
|
||||||
@ -126,7 +125,7 @@ class pqiConnectCbDummy: public pqiConnectCb
|
|||||||
pqiConnectCbDummy();
|
pqiConnectCbDummy();
|
||||||
virtual ~pqiConnectCbDummy();
|
virtual ~pqiConnectCbDummy();
|
||||||
virtual void peerStatus(std::string id,
|
virtual void peerStatus(std::string id,
|
||||||
struct sockaddr_in laddr, struct sockaddr_in raddr, std::list<IpAddressTimed> ipAddressList,
|
struct sockaddr_in laddr, struct sockaddr_in raddr,
|
||||||
uint32_t type, uint32_t mode, uint32_t source);
|
uint32_t type, uint32_t mode, uint32_t source);
|
||||||
|
|
||||||
virtual void peerConnectRequest(std::string id,
|
virtual void peerConnectRequest(std::string id,
|
||||||
|
Loading…
Reference in New Issue
Block a user