File name format change and Removed warning messages (Except warning from boost for Logging)
Change-Id: If3a3a5411d377d925527fc3e8809c228a9a81e26
diff --git a/src/route/npt.hpp b/src/route/npt.hpp
new file mode 100644
index 0000000..8e6cd0a
--- /dev/null
+++ b/src/route/npt.hpp
@@ -0,0 +1,42 @@
+#ifndef NLSR_NPT_HPP
+#define NLSR_NPT_HPP
+
+#include <list>
+#include "npte.hpp"
+#include "routing-table-entry.hpp"
+
+namespace nlsr {
+class Nlsr;
+
+class Npt
+{
+public:
+ Npt()
+ {
+ }
+ void
+ addNpteByDestName(std::string name, std::string destRouter, Nlsr& pnlsr);
+
+ void
+ removeNpte(std::string name, std::string destRouter, Nlsr& pnlsr);
+
+ void
+ updateWithNewRoute(Nlsr& pnlsr);
+
+ void
+ print();
+
+private:
+ void
+ addNpte(std::string name, RoutingTableEntry& rte, Nlsr& pnlsr);
+
+ void
+ removeNpte(std::string name, RoutingTableEntry& rte, Nlsr& pnlsr);
+
+private:
+ std::list<Npte> m_npteList;
+};
+
+}//namespace nlsr
+
+#endif //NLSR_NPT_HPP