use shared_ptr for inbound tunnels

This commit is contained in:
orignal 2015-02-05 18:53:43 -05:00
parent 7945126e86
commit b9e3931e80
12 changed files with 19 additions and 18 deletions

View file

@ -86,7 +86,7 @@ namespace client
// implements GarlicDestination
const i2p::data::LeaseSet * GetLeaseSet ();
void HandleI2NPMessage (const uint8_t * buf, size_t len, i2p::tunnel::InboundTunnel * from);
void HandleI2NPMessage (const uint8_t * buf, size_t len, std::shared_ptr<i2p::tunnel::InboundTunnel> from);
// override GarlicDestination
bool SubmitSessionKey (const uint8_t * key, const uint8_t * tag);