mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
add and remove tunnels without stopping others
This commit is contained in:
parent
d47d8d22a3
commit
4c8c3b6947
4 changed files with 55 additions and 11 deletions
|
@ -89,6 +89,9 @@ namespace client
|
|||
void CleanupUDP(const boost::system::error_code & ecode);
|
||||
void ScheduleCleanupUDP();
|
||||
|
||||
template<typename Visitor>
|
||||
void VisitTunnels (Visitor v); // Visitor: (I2PService *) -> bool, true means retain
|
||||
|
||||
private:
|
||||
|
||||
std::mutex m_DestinationsMutex;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue