src: Renaming class to spell out them (Adl, Nhl, Npl, Npt, Npte)
Refs: #1534
Change-Id: If4a205e8ad2419505cc796027a5c863471ef5439
diff --git a/src/name-prefix-list.hpp b/src/name-prefix-list.hpp
index 9d32dde..dda4508 100644
--- a/src/name-prefix-list.hpp
+++ b/src/name-prefix-list.hpp
@@ -1,8 +1,9 @@
-#ifndef NPL_HPP
-#define NPL_HPP
+#ifndef NLSR_NAME_PREFIX_LIST_HPP
+#define NLSR_NAME_PREFIX_LIST_HPP
#include <list>
#include <string>
+#include <boost/cstdint.hpp>
namespace nlsr {
@@ -14,16 +15,16 @@
~NamePrefixList();
- int
- insert(std::string& name);
+ int32_t
+ insert(const std::string& name);
- int
- remove(std::string& name);
+ int32_t
+ remove(const std::string& name);
void
sort();
- int
+ int32_t
getSize()
{
return m_nameList.size();
@@ -45,4 +46,4 @@
}//namespace nlsr
-#endif //NPL_HPP
+#endif //NLSR_NAME_PREFIX_LIST_HPP