nlsr: implement NameLsa::isEqualContent

Change-Id: Ibf9021144f5ff253515875ac61de97740a1fecd7
refs: #2962
diff --git a/src/lsa.hpp b/src/lsa.hpp
index 934ba40..9d4f89f 100644
--- a/src/lsa.hpp
+++ b/src/lsa.hpp
@@ -127,6 +127,12 @@
     return m_npl;
   }
 
+  const NamePrefixList&
+  getNpl() const
+  {
+    return m_npl;
+  }
+
   void
   addName(const ndn::Name& name)
   {
@@ -166,6 +172,9 @@
   bool
   initializeFromContent(const std::string& content);
 
+  bool
+  isEqualContent(const NameLsa& other) const;
+
   void
   writeLog();
 
@@ -346,4 +355,4 @@
 
 } // namespace nlsr
 
-#endif //NLSR_LSA_HPP
+#endif // NLSR_LSA_HPP