mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
use shared_ptr for NetDb's I2NPMessages
This commit is contained in:
parent
5cd557ef9d
commit
2b797fcd54
4 changed files with 17 additions and 17 deletions
6
NetDb.h
6
NetDb.h
|
@ -41,9 +41,9 @@ namespace data
|
|||
|
||||
void RequestDestination (const IdentHash& destination, RequestedDestination::RequestComplete requestComplete = nullptr);
|
||||
|
||||
void HandleDatabaseStoreMsg (I2NPMessage * msg);
|
||||
void HandleDatabaseSearchReplyMsg (I2NPMessage * msg);
|
||||
void HandleDatabaseLookupMsg (I2NPMessage * msg);
|
||||
void HandleDatabaseStoreMsg (std::shared_ptr<I2NPMessage> msg);
|
||||
void HandleDatabaseSearchReplyMsg (std::shared_ptr<I2NPMessage> msg);
|
||||
void HandleDatabaseLookupMsg (std::shared_ptr<I2NPMessage> msg);
|
||||
|
||||
std::shared_ptr<const RouterInfo> GetRandomRouter () const;
|
||||
std::shared_ptr<const RouterInfo> GetRandomRouter (std::shared_ptr<const RouterInfo> compatibleWith) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue