src: Setting neighbour router's FIB entry expiration to milliseconds::max()
Refs: #1786
Change-Id: I6d51338f9ceb358bb67cdb38feb148780f2f1577
diff --git a/src/route/fib.hpp b/src/route/fib.hpp
index 6a23772..5121535 100644
--- a/src/route/fib.hpp
+++ b/src/route/fib.hpp
@@ -93,12 +93,14 @@
public:
void
registerPrefix(const ndn::Name& namePrefix, const std::string& faceUri,
- uint64_t faceCost, uint64_t timeout);
+ uint64_t faceCost,
+ const ndn::time::milliseconds& timeout);
void
registerPrefix(const ndn::Name& namePrefix,
const std::string& faceUri,
- uint64_t faceCost, uint64_t timeout,
+ uint64_t faceCost,
+ const ndn::time::milliseconds& timeout,
const CommandSucceedCallback& onSuccess,
const CommandFailCallback& onFailure);
@@ -121,11 +123,13 @@
void
registerPrefixInNfd(const ndn::nfd::ControlParameters& faceCreateResult,
- const ndn::Name& namePrefix, uint64_t faceCost, uint64_t timeout);
+ const ndn::Name& namePrefix, uint64_t faceCost,
+ const ndn::time::milliseconds& timeout);
void
registerPrefixInNfd(const ndn::nfd::ControlParameters& faceCreateResult,
- const ndn::Name& namePrefix, uint64_t faceCost, uint64_t timeout,
+ const ndn::Name& namePrefix, uint64_t faceCost,
+ const ndn::time::milliseconds& timeout,
const CommandSucceedCallback& onSuccess,
const CommandFailCallback& onFailure);