tunnels reload changes: fix tcp tunnels reload

Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
R4SAS 2021-09-03 23:25:47 +03:00
parent 349022ae42
commit 6b1ef6e1b9
No known key found for this signature in database
GPG key ID: 66F6C87B98EBCFE2
4 changed files with 100 additions and 55 deletions

View file

@ -121,8 +121,7 @@ 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
void VisitTunnels (bool clean);
void CreateNewSharedLocalDestination ();
void AddLocalDestination (std::shared_ptr<ClientDestination> localDestination);