LSDB Operation Complete - Refresh
diff --git a/nlsr_lsdb.hpp b/nlsr_lsdb.hpp
index 5d278ea..9ba0729 100644
--- a/nlsr_lsdb.hpp
+++ b/nlsr_lsdb.hpp
@@ -20,20 +20,20 @@
bool buildAndInstallOwnNameLsa(nlsr& pnlsr);
std::pair<NameLsa&, bool> getNameLsa(string key);
bool installNameLsa(nlsr& pnlsr, NameLsa &nlsa);
- bool removeNameLsa(string& key);
+ bool removeNameLsa(nlsr& pnlsr, string& key);
void printNameLsdb(); //debugging
//function related to Cor LSDB
bool buildAndInstallOwnCorLsa(nlsr& pnlsr);
std::pair<CorLsa&, bool> getCorLsa(string key);
bool installCorLsa(nlsr& pnlsr, CorLsa &clsa);
- bool removeCorLsa(string& key);
+ bool removeCorLsa(nlsr& pnlsr, string& key);
void printCorLsdb(); //debugging
//function related to Adj LSDB
void scheduledAdjLsaBuild(nlsr& pnlsr);
bool buildAndInstallOwnAdjLsa(nlsr& pnlsr);
- bool removeAdjLsa(string& key);
+ bool removeAdjLsa(nlsr& pnlsr, string& key);
bool installAdjLsa(nlsr& pnlsr, AdjLsa &alsa);
std::pair<AdjLsa& , bool> getAdjLsa(string key);
std::list<AdjLsa>& getAdjLsdb();
@@ -43,6 +43,7 @@
bool addNameLsa(NameLsa &nlsa);
bool doesNameLsaExist(string key);
+
bool addCorLsa(CorLsa& clsa);
bool doesCorLsaExist(string key);