|
|
@ -151,7 +151,7 @@ namespace data |
|
|
|
|
|
|
|
|
|
|
|
void AddNTCPAddress (const char * host, int port); |
|
|
|
void AddNTCPAddress (const char * host, int port); |
|
|
|
void AddSSUAddress (const char * host, int port, const uint8_t * key, int mtu = 0); |
|
|
|
void AddSSUAddress (const char * host, int port, const uint8_t * key, int mtu = 0); |
|
|
|
void AddNTCP2Address (const uint8_t * staticKey, const uint8_t * iv); |
|
|
|
void AddNTCP2Address (const uint8_t * staticKey, const uint8_t * iv, const boost::asio::ip::address& host = boost::asio::ip::address(), int port = 0); |
|
|
|
bool AddIntroducer (const Introducer& introducer); |
|
|
|
bool AddIntroducer (const Introducer& introducer); |
|
|
|
bool RemoveIntroducer (const boost::asio::ip::udp::endpoint& e); |
|
|
|
bool RemoveIntroducer (const boost::asio::ip::udp::endpoint& e); |
|
|
|
void SetProperty (const std::string& key, const std::string& value); // called from RouterContext only
|
|
|
|
void SetProperty (const std::string& key, const std::string& value); // called from RouterContext only
|
|
|
|