mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
pass I2NP as shared_ptr to netDB
This commit is contained in:
parent
465945f8a8
commit
d65257c7b0
5 changed files with 13 additions and 13 deletions
4
NetDb.h
4
NetDb.h
|
@ -56,7 +56,7 @@ namespace data
|
|||
std::shared_ptr<const RouterInfo> GetClosestNonFloodfill (const IdentHash& destination, const std::set<IdentHash>& excluded) const;
|
||||
void SetUnreachable (const IdentHash& ident, bool unreachable);
|
||||
|
||||
void PostI2NPMsg (I2NPMessage * msg);
|
||||
void PostI2NPMsg (std::shared_ptr<I2NPMessage> msg);
|
||||
|
||||
void Reseed ();
|
||||
|
||||
|
@ -89,7 +89,7 @@ namespace data
|
|||
|
||||
bool m_IsRunning;
|
||||
std::thread * m_Thread;
|
||||
i2p::util::Queue<I2NPMessage *> m_Queue; // of I2NPDatabaseStoreMsg
|
||||
i2p::util::Queue<std::shared_ptr<I2NPMessage> > m_Queue; // of I2NPDatabaseStoreMsg
|
||||
|
||||
Reseeder * m_Reseeder;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue