Schedule Adj LSA build and installation
diff --git a/nlsr_adl.hpp b/nlsr_adl.hpp
index 71829c1..d6923e1 100644
--- a/nlsr_adl.hpp
+++ b/nlsr_adl.hpp
@@ -5,6 +5,8 @@
#include "nlsr_adjacent.hpp"
#include<list>
+class nlsr;
+
using namespace std;
class Adl{
@@ -23,6 +25,14 @@
void setStatusOfNeighbor(string& neighbor, int status);
void setTimedOutInterestCount(string& neighbor, int count);
+ bool isAdjLsaBuildable(nlsr& pnlsr);
+ int getNumOfActiveNeighbor();
+
+ int getAdlSize()
+ {
+ return adjList.size();
+ }
+
void printAdl();
private: