nlsr: implement NameLsa::isEqualContent
Change-Id: Ibf9021144f5ff253515875ac61de97740a1fecd7
refs: #2962
diff --git a/src/name-prefix-list.hpp b/src/name-prefix-list.hpp
index 77f0801..12669ce 100644
--- a/src/name-prefix-list.hpp
+++ b/src/name-prefix-list.hpp
@@ -66,6 +66,15 @@
return m_nameList;
}
+ const std::list<ndn::Name>&
+ getNameList() const
+ {
+ return m_nameList;
+ }
+
+ bool
+ operator==(const NamePrefixList& other) const;
+
void
writeLog();
@@ -74,6 +83,9 @@
};
+std::ostream&
+operator<<(std::ostream& os, const NamePrefixList& list);
+
} // namespace nlsr
-#endif //NLSR_NAME_PREFIX_LIST_HPP
+#endif // NLSR_NAME_PREFIX_LIST_HPP