table: MeasurementsAccessor for strategy
refs #1276
Change-Id: Idec8f615c726f51612236a55a7532fabeb81a32d
diff --git a/daemon/table/fib.hpp b/daemon/table/fib.hpp
index 22d5222..2661911 100644
--- a/daemon/table/fib.hpp
+++ b/daemon/table/fib.hpp
@@ -8,6 +8,9 @@
#define NFD_TABLE_FIB_HPP
#include "fib-entry.hpp"
+#include "pit-entry.hpp"
+#include "measurements-entry.hpp"
+
namespace nfd {
/** \class Fib
@@ -31,6 +34,14 @@
shared_ptr<fib::Entry>
findLongestPrefixMatch(const Name& prefix) const;
+ /// performs a longest prefix match
+ shared_ptr<fib::Entry>
+ findLongestPrefixMatch(const pit::Entry& pitEntry) const;
+
+ /// performs a longest prefix match
+ shared_ptr<fib::Entry>
+ findLongestPrefixMatch(const measurements::Entry& measurementsEntry) const;
+
shared_ptr<fib::Entry>
findExactMatch(const Name& prefix) const;