Add getContact method of ContactManager, add supporting methods in ContactStorage
diff --git a/src/contact-storage.h b/src/contact-storage.h
index e08790e..d0f5f5b 100644
--- a/src/contact-storage.h
+++ b/src/contact-storage.h
@@ -48,6 +48,12 @@
std::vector<ndn::Ptr<ContactItem> >
getAllNormalContacts() const;
+
+ ndn::Ptr<ContactItem>
+ getNormalContact(const ndn::Name& name);
+
+ ndn::Ptr<TrustedContact>
+ getTrustedContact(const ndn::Name& name);
ndn::Ptr<Profile>
getSelfProfile(const ndn::Name& identity) const;