commit | d40226b1c62c166e95eaaf36606f1f8b59cc09bc | [log] [tgz] |
---|---|---|
author | Yingdi Yu <yuyingdi@gmail.com> | Wed Oct 23 14:05:12 2013 -0700 |
committer | Yingdi Yu <yuyingdi@gmail.com> | Wed Oct 23 14:05:12 2013 -0700 |
tree | c4adabb72ede64d13698efd42dc708aefabf5d71 | |
parent | 0484223f59759e442ed56b021ec262b5045818ae [diff] [blame] |
Add getContact method of ContactManager, add supporting methods in ContactStorage
diff --git a/src/contact-manager.h b/src/contact-manager.h index 666cf9b..465a1cc 100644 --- a/src/contact-manager.h +++ b/src/contact-manager.h
@@ -46,6 +46,9 @@ getContactStorage() { return m_contactStorage; } + ndn::Ptr<ContactItem> + getContact(const ndn::Name& contactNamespace); + inline ndn::Ptr<DnsStorage> getDnsStorage() { return m_dnsStorage; }