src: set best-route strategy for certificate prefixes
refs: #4881
Change-Id: I655c261233e478bf01ff298b74af5eb62a33ffaf
diff --git a/src/nlsr.hpp b/src/nlsr.hpp
index c0d6bc4..2124ceb 100644
--- a/src/nlsr.hpp
+++ b/src/nlsr.hpp
@@ -83,6 +83,9 @@
Nlsr(ndn::Face& face, ndn::KeyChain& keyChain, ConfParameter& confParam);
void
+ registerStrategyForCerts(const ndn::Name& originRouter);
+
+ void
registrationFailed(const ndn::Name& name);
void
@@ -268,6 +271,7 @@
NamePrefixList& m_namePrefixList;
bool m_isDaemonProcess;
ndn::security::ValidatorConfig& m_validator;
+ std::vector<ndn::Name> m_strategySetOnRouters;
PUBLIC_WITH_TESTS_ELSE_PRIVATE:
Fib m_fib;
@@ -277,6 +281,7 @@
private:
ndn::util::signal::ScopedConnection m_afterSegmentValidatedConnection;
+ ndn::util::signal::ScopedConnection m_onNewLsaConnection;
PUBLIC_WITH_TESTS_ELSE_PRIVATE:
ndn::mgmt::Dispatcher m_dispatcher;