src: Recreating face in case of face deletion by NFD
Change-Id: Idd1d0b7f521e574ace38d6f671a682622d98209d
diff --git a/src/hello-protocol.hpp b/src/hello-protocol.hpp
index 5f1cc7d..fd8ef09 100644
--- a/src/hello-protocol.hpp
+++ b/src/hello-protocol.hpp
@@ -67,6 +67,16 @@
onContentValidationFailed(const ndn::shared_ptr<const ndn::Data>& data,
const std::string& msg);
+ void
+ onRegistrationFailure(uint32_t code, const std::string& error);
+
+ void
+ onRegistrationSuccess(const ndn::nfd::ControlParameters& commandSuccessResult,
+ const ndn::Name neighbor);
+
+ void
+ registerPrefixes(const ndn::Name adjName, const std::string& faceUri,
+ double linkCost, uint64_t timeout);
private:
Nlsr& m_nlsr;
static const std::string INFO_COMPONENT;