lsdb: rebuild using boost::multi_index to replace 3 LSA lists
refs: #4127
Co-authored-by: Nick Gordon <nmgordon@memphis.edu>
Change-Id: Ic179f90019e472157b0d61c6db02a4afaf4843b6
diff --git a/tools/nlsrc.hpp b/tools/nlsrc.hpp
index 938e82c..c3ee7f1 100644
--- a/tools/nlsrc.hpp
+++ b/tools/nlsrc.hpp
@@ -91,12 +91,6 @@
fetchAdjacencyLsas();
void
- fetchRtables();
-
- void
- fetchHRRtables();
-
- void
fetchCoordinateLsas();
void
@@ -107,6 +101,12 @@
fetchFromLsdb(const ndn::Name::Component& datasetType,
const std::function<void(const T&)>& recordLsa);
+ void
+ recordLsa(const nlsr::Lsa& lsa);
+
+ void
+ fetchRtables();
+
template <class T>
void
fetchFromRt(const std::function<void(const T&)>& recordLsa);
@@ -120,9 +120,6 @@
onTimeout(uint32_t errorCode, const std::string& error);
void
- recordLsa(const nlsr::Lsa& lsa);
-
- void
recordRtable(const nlsr::RoutingTableStatus& rts);
void
@@ -134,9 +131,6 @@
void
printAll();
- std::string
- getLsaInfo(const nlsr::Lsa& lsa);
-
public:
const char* programName;