mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-05-22 15:21:47 +02:00
set address caps and available transports for new address
This commit is contained in:
parent
8e5d2e1b73
commit
6ca28adcbb
3 changed files with 30 additions and 12 deletions
libi2pd
|
@ -179,7 +179,8 @@ namespace data
|
|||
std::shared_ptr<const Address> GetYggdrasilAddress () const;
|
||||
|
||||
void AddSSUAddress (const char * host, int port, const uint8_t * key, int mtu = 0);
|
||||
void AddNTCP2Address (const uint8_t * staticKey, const uint8_t * iv, const boost::asio::ip::address& host = boost::asio::ip::address(), int port = 0);
|
||||
void AddNTCP2Address (const uint8_t * staticKey, const uint8_t * iv,
|
||||
const boost::asio::ip::address& host = boost::asio::ip::address(), int port = 0, uint8_t caps = 0);
|
||||
bool AddIntroducer (const Introducer& introducer);
|
||||
bool RemoveIntroducer (const boost::asio::ip::udp::endpoint& e);
|
||||
void SetProperty (const std::string& key, const std::string& value); // called from RouterContext only
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue