created paired inbound tunnel after outbound

This commit is contained in:
orignal 2015-05-07 16:03:12 -04:00
parent 490e829083
commit 39c346df10
2 changed files with 14 additions and 3 deletions

View file

@ -57,6 +57,7 @@ namespace tunnel
void CreateInboundTunnel ();
void CreateOutboundTunnel ();
void CreatePairedInboundTunnel (std::shared_ptr<OutboundTunnel> outboundTunnel);
template<class TTunnels>
typename TTunnels::value_type GetNextTunnel (TTunnels& tunnels, typename TTunnels::value_type excluded) const;
std::shared_ptr<const i2p::data::RouterInfo> SelectNextHop (std::shared_ptr<const i2p::data::RouterInfo> prevHop) const;