File name format change and Removed warning messages (Except warning from boost for Logging)
Change-Id: If3a3a5411d377d925527fc3e8809c228a9a81e26
diff --git a/src/route/fib-entry.hpp b/src/route/fib-entry.hpp
new file mode 100644
index 0000000..66e2e8b
--- /dev/null
+++ b/src/route/fib-entry.hpp
@@ -0,0 +1,98 @@
+#ifndef NLSR_FE_HPP
+#define NLSR_FE_HPP
+
+#include <list>
+#include <iostream>
+#include <ndn-cpp-dev/util/scheduler.hpp>
+
+#include "nexthop.hpp"
+#include "nhl.hpp"
+
+namespace nlsr {
+
+using namespace std;
+
+class FibEntry
+{
+public:
+ FibEntry()
+ : m_name()
+ , m_timeToRefresh(0)
+ , m_seqNo(0)
+ , m_nhl()
+ {
+ }
+
+ FibEntry(string n)
+ : m_timeToRefresh(0)
+ , m_seqNo(0)
+ , m_nhl()
+ {
+ m_name = n;
+ }
+
+ std::string
+ getName() const
+ {
+ return m_name;
+ }
+
+ Nhl&
+ getNhl()
+ {
+ return m_nhl;
+ }
+
+ int
+ getTimeToRefresh() const
+ {
+ return m_timeToRefresh;
+ }
+
+ void
+ setTimeToRefresh(int ttr)
+ {
+ m_timeToRefresh = ttr;
+ }
+
+ void
+ setExpiringEventId(ndn::EventId feid)
+ {
+ m_expiringEventId = feid;
+ }
+
+ ndn::EventId
+ getExpiringEventId() const
+ {
+ return m_expiringEventId;
+ }
+
+ void
+ setSeqNo(int fsn)
+ {
+ m_seqNo = fsn;
+ }
+
+ int
+ getSeqNo()
+ {
+ return m_seqNo;
+ }
+
+ bool
+ isEqualNextHops(Nhl& nhlOther);
+
+private:
+ std::string m_name;
+ int m_timeToRefresh;
+ ndn::EventId m_expiringEventId;
+ int m_seqNo;
+ Nhl m_nhl;
+};
+
+std::ostream&
+operator<<(std::ostream& os, FibEntry fe);
+
+} //namespace nlsr
+
+#endif //NLSR_FE_HPP