From 864c504eb4e5bd4c3ca84b7e169c5f7e5a9292b4 Mon Sep 17 00:00:00 2001 From: joss17 Date: Wed, 11 Nov 2009 16:46:28 +0000 Subject: [PATCH] dummy implementation of the peerConnectState ipAddressList methods git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1808 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/pqi/p3connmgr.cc | 8 ++++++++ libretroshare/src/pqi/p3connmgr.h | 1 + 2 files changed, 9 insertions(+) diff --git a/libretroshare/src/pqi/p3connmgr.cc b/libretroshare/src/pqi/p3connmgr.cc index e72e0b817..7a06a54f6 100644 --- a/libretroshare/src/pqi/p3connmgr.cc +++ b/libretroshare/src/pqi/p3connmgr.cc @@ -3718,3 +3718,11 @@ bool p3ConnectMgr::getStunExtAddress(struct sockaddr_in &addr) { bool p3ConnectMgr::getExtFinderExtAddress(struct sockaddr_in &addr) { return (use_extr_addr_finder && mExtAddrFinder->hasValidIP(&addr)); } + +void peerConnectState::sortIpAdressList() { //Sort the ip list ordering by seen time +} + +void peerConnectState::purgeIpAdressList() {//purge old addresses to keep a small list +} +void peerConnectState::updateIpAdressList(IpAddressTimed ipTimed) { //purge old addresses to keep a small list +} diff --git a/libretroshare/src/pqi/p3connmgr.h b/libretroshare/src/pqi/p3connmgr.h index 5b868153a..009b6c3e1 100644 --- a/libretroshare/src/pqi/p3connmgr.h +++ b/libretroshare/src/pqi/p3connmgr.h @@ -141,6 +141,7 @@ class peerConnectState std::list ipAddressList; void sortIpAdressList(); //Sort the ip list ordering by seen time void purgeIpAdressList(); //purge old addresses to keep a small list + void updateIpAdressList(IpAddressTimed ipTimed); //purge old addresses to keep a small list //used to store current ip (for config and connection management) struct sockaddr_in currentlocaladdr; /* Mandatory */