mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
pass BOB options to destination
This commit is contained in:
parent
9164ac8a3e
commit
797c8750d8
2 changed files with 27 additions and 10 deletions
3
BOB.h
3
BOB.h
|
@ -81,7 +81,7 @@ namespace client
|
|||
boost::asio::deadline_timer m_Timer;
|
||||
char m_ReceiveBuffer[BOB_COMMAND_BUFFER_SIZE + 1]; // for destination base64 address
|
||||
uint8_t * m_ReceivedData;
|
||||
size_t m_ReceivedDataLen;
|
||||
size_t m_ReceivedDataLen, m_ReceiveBufferOffset;
|
||||
};
|
||||
|
||||
class BOBI2POutboundTunnel: public BOBI2PTunnel
|
||||
|
@ -161,6 +161,7 @@ namespace client
|
|||
std::string m_Nickname, m_Address;
|
||||
int m_Port;
|
||||
i2p::data::PrivateKeys m_Keys;
|
||||
std::map<std::string, std::string> m_Options;
|
||||
};
|
||||
typedef void (BOBCommandSession::*BOBCommandHandler)(const char * operand, size_t len);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue