nlsr: accept NFD-RIB-style register/unregister commands
refs: #3818
Change-Id: I7a5455bdec815bdcbe53ad535dab44249d1a18ce
diff --git a/src/nlsr.hpp b/src/nlsr.hpp
index 5399ed8..eb9132d 100644
--- a/src/nlsr.hpp
+++ b/src/nlsr.hpp
@@ -50,6 +50,7 @@
#include "route/routing-table.hpp"
#include "security/certificate-store.hpp"
#include "update/prefix-update-processor.hpp"
+#include "update/nfd-rib-command-processor.hpp"
#include "utility/name-helper.hpp"
@@ -290,6 +291,12 @@
return m_prefixUpdateProcessor;
}
+ update::NfdRibCommandProcessor&
+ getNfdRibCommandProcessor()
+ {
+ return m_nfdRibCommandProcessor;
+ }
+
ndn::mgmt::Dispatcher&
getDispatcher()
{
@@ -394,6 +401,7 @@
ndn::Name m_defaultCertName;
update::PrefixUpdateProcessor m_prefixUpdateProcessor;
ndn::mgmt::Dispatcher m_dispatcher;
+ update::NfdRibCommandProcessor m_nfdRibCommandProcessor;
ndn::nfd::FaceMonitor m_faceMonitor;