NLSR - (Hello Protocol + FIB Update)
diff --git a/src/nlsr_npl.hpp b/src/nlsr_npl.hpp
index 3fc3db9..dd1bafa 100644
--- a/src/nlsr_npl.hpp
+++ b/src/nlsr_npl.hpp
@@ -8,32 +8,32 @@
namespace nlsr
{
- using namespace std;
+ using namespace std;
- class Npl
+ class Npl
+ {
+
+ public:
+ Npl();
+ ~Npl();
+
+ int insertIntoNpl(string& name);
+ int removeFromNpl(string& name);
+ void sortNpl();
+ int getNplSize()
{
+ return nameList.size();
+ }
+ std::list<string>& getNameList()
+ {
+ return nameList;
+ }
+ void printNpl();
- public:
- Npl();
- ~Npl();
+ private:
+ std::list<string> nameList;
- int insertIntoNpl(string& name);
- int removeFromNpl(string& name);
- void sortNpl();
- int getNplSize()
- {
- return nameList.size();
- }
- std::list<string>& getNameList()
- {
- return nameList;
- }
- void printNpl();
-
- private:
- std::list<string> nameList;
-
- };
+ };
}//namespace nlsr