mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
generic tag introduced
This commit is contained in:
parent
a01e2213eb
commit
13fec9bdfc
5 changed files with 41 additions and 57 deletions
3
Garlic.h
3
Garlic.h
|
@ -98,6 +98,7 @@ namespace garlic
|
|||
|
||||
private:
|
||||
|
||||
typedef i2p::data::Tag<32> SessionTag;
|
||||
bool m_IsRunning;
|
||||
std::thread * m_Thread;
|
||||
i2p::util::Queue<I2NPMessage> m_Queue;
|
||||
|
@ -106,7 +107,7 @@ namespace garlic
|
|||
std::map<uint32_t, GarlicRoutingSession *> m_CreatedSessions; // msgID -> session
|
||||
// incoming session
|
||||
std::list<i2p::crypto::CBCDecryption *> m_SessionDecryptions; // multiple tags refer to one decyption
|
||||
std::map<std::string, i2p::crypto::CBCDecryption *> m_SessionTags; // tag -> decryption
|
||||
std::map<SessionTag, i2p::crypto::CBCDecryption *> m_SessionTags; // tag -> decryption
|
||||
};
|
||||
|
||||
extern GarlicRouting routing;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue