src: configuration file parsing
used boost::property_tree::info_parser for parsing nlsr's configuration file and
changed configuration command style to info command style. Removed tokenizer from
nlsr
Refs: #1542
Change-Id: If017ddd7eef5caa59b33940bfc27a71aa4de266b
diff --git a/src/nlsr.hpp b/src/nlsr.hpp
index 6bf45bd..6fc255d 100644
--- a/src/nlsr.hpp
+++ b/src/nlsr.hpp
@@ -59,6 +59,9 @@
registrationFailed(const ndn::Name& name);
void
+ onRegistrationSuccess(const ndn::Name& name);
+
+ void
setInfoInterestFilter();
void
@@ -172,7 +175,7 @@
m_adjBuildCount = abc;
}
- int
+ bool
getIsBuildAdjLsaSheduled()
{
return m_isBuildAdjLsaSheduled;
@@ -231,6 +234,10 @@
initialize();
private:
+ void
+ registerPrefixes();
+
+private:
ndn::Face m_nlsrFace;
ndn::Scheduler m_scheduler;
ConfParameter m_confParam;