naming lookup through addressbook

This commit is contained in:
orignal 2014-11-26 16:51:36 -05:00
parent fae01f61d2
commit 68c321609d
4 changed files with 35 additions and 5 deletions

View file

@ -33,10 +33,14 @@ namespace client
bool GetAddress (const std::string& address, i2p::data::IdentityEx& identity);
const i2p::data::IdentHash * FindAddress (const std::string& address);
void InsertAddress (const std::string& address, const std::string& base64); // for jump service
void InsertAddress (const i2p::data::IdentityEx& address);
private:
AddressBookStorage * CreateStorage ();
private:
void LoadHosts ();
void LoadHostsFromI2P ();