File name format change and Removed warning messages (Except warning from boost for Logging)
Change-Id: If3a3a5411d377d925527fc3e8809c228a9a81e26
diff --git a/src/security/waiting-list-entry.hpp b/src/security/waiting-list-entry.hpp
new file mode 100644
index 0000000..66b0a95
--- /dev/null
+++ b/src/security/waiting-list-entry.hpp
@@ -0,0 +1,51 @@
+#ifndef NLSR_WLE_HPP
+#define NLSR_WLE_HPP
+
+#include <list>
+#include <iostream>
+
+namespace nlsr {
+class WaitingListEntry
+{
+public:
+ WaitingListEntry()
+ : m_responsibleCert()
+ , m_waitingCerts()
+ {}
+
+ WaitingListEntry(std::string resCert)
+ : m_responsibleCert(resCert)
+ , m_waitingCerts()
+ {}
+
+ std::string
+ getResponsibleCert() const
+ {
+ return m_responsibleCert;
+ }
+
+ void
+ setResponsibleCert(std::string resCert)
+ {
+ m_responsibleCert = resCert;
+ }
+
+ std::list<std::string>
+ getWaitingCerts() const
+ {
+ return m_waitingCerts;
+ }
+
+ bool
+ addWaitee(std::string waiteeName);
+
+private:
+ std::string m_responsibleCert;
+ std::list<std::string> m_waitingCerts;
+};
+
+std::ostream&
+operator<<(std::ostream& os, const WaitingListEntry& we);
+} //end name space
+
+#endif //NLSR_WLE_HPP