mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
pass I2NP message to transport session as shared_ptr
This commit is contained in:
parent
d65257c7b0
commit
3a63f6775a
9 changed files with 47 additions and 75 deletions
|
@ -89,7 +89,7 @@ namespace transport
|
|||
|
||||
void ProcessMessage (uint8_t * buf, size_t len);
|
||||
void FlushReceivedMessage ();
|
||||
void Send (i2p::I2NPMessage * msg);
|
||||
void Send (std::shared_ptr<i2p::I2NPMessage> msg);
|
||||
|
||||
void UpdatePacketSize (const i2p::data::IdentHash& remoteIdent);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue