Content Verification and Certificate Verification Done
diff --git a/src/security/nlsr_wl.hpp b/src/security/nlsr_wl.hpp
new file mode 100644
index 0000000..c287842
--- /dev/null
+++ b/src/security/nlsr_wl.hpp
@@ -0,0 +1,31 @@
+#ifndef NLSR_WL_HPP
+#define NLSR_WL_HPP
+
+#include "nlsr_wle.hpp"
+
+namespace nlsr
+{
+ class WaitingList
+ {
+ public:
+ WaitingList()
+ : waitingTable()
+ {}
+
+ std::list<WaitingListEntry>& getWaitingTable()
+ {
+ return waitingTable;
+ }
+
+ bool addtoWaitingList(std::string respCert, std::string waitee);
+ std::pair<WaitingListEntry, bool> getWaitingListEntry(std::string respCert);
+ bool removeFromWaitingList(std::string respCert);
+
+ private:
+ std::list<WaitingListEntry> waitingTable;
+ };
+
+ std::ostream& operator<<(std::ostream& os, WaitingList wl);
+}
+
+#endif