reduce memory usage

This commit is contained in:
orignal 2015-03-12 16:26:08 -04:00
parent 57d4ccfdfd
commit c7edc36106
3 changed files with 10 additions and 12 deletions

View file

@ -105,8 +105,8 @@ namespace data
void AddSSUAddress (const char * host, int port, const uint8_t * key, int mtu = 0);
bool AddIntroducer (const Address * address, uint32_t tag);
bool RemoveIntroducer (const boost::asio::ip::udp::endpoint& e);
void SetProperty (const char * key, const char * value);
const char * GetProperty (const char * key) const;
void SetProperty (const char * key, const char * value); // called from RouterContext only
void ClearProperties () { m_Properties.clear (); };
bool IsFloodfill () const;
bool IsNTCP (bool v4only = true) const;
bool IsSSU (bool v4only = true) const;