Browse Source

pass BOB options to destination

pull/113/head
orignal 10 years ago
parent
commit
fbff749838
  1. 1
      BOB.cpp
  2. 1
      BOB.h

1
BOB.cpp

@ -192,6 +192,7 @@ namespace client
std::placeholders::_1, std::placeholders::_2)); std::placeholders::_1, std::placeholders::_2));
} }
void BOBCommandSession::HandleReceived (const boost::system::error_code& ecode, std::size_t bytes_transferred) void BOBCommandSession::HandleReceived (const boost::system::error_code& ecode, std::size_t bytes_transferred)
{ {
if (ecode) if (ecode)

1
BOB.h

@ -162,6 +162,7 @@ namespace client
int m_Port; int m_Port;
i2p::data::PrivateKeys m_Keys; i2p::data::PrivateKeys m_Keys;
std::map<std::string, std::string> m_Options; std::map<std::string, std::string> m_Options;
}; };
typedef void (BOBCommandSession::*BOBCommandHandler)(const char * operand, size_t len); typedef void (BOBCommandSession::*BOBCommandHandler)(const char * operand, size_t len);

Loading…
Cancel
Save