use existing SSU session if available

This commit is contained in:
orignal 2014-03-25 21:17:03 -04:00
parent 129052c330
commit 3ae225fb41
3 changed files with 36 additions and 25 deletions

1
SSU.h
View file

@ -126,6 +126,7 @@ namespace ssu
void Start ();
void Stop ();
SSUSession * GetSession (const i2p::data::RouterInfo * router);
SSUSession * FindSession (const i2p::data::RouterInfo * router);
void DeleteSession (SSUSession * session);
void DeleteAllSessions ();