build: Fixes for the latest reorganizations in ndn-cpp-dev library
Change-Id: I7cdb1e680342f72d90da6bc41028388dc57a22c0
diff --git a/daemon/mgmt/fib-manager.hpp b/daemon/mgmt/fib-manager.hpp
index 3b36aeb..79be094 100644
--- a/daemon/mgmt/fib-manager.hpp
+++ b/daemon/mgmt/fib-manager.hpp
@@ -13,11 +13,12 @@
#include "fw/strategy.hpp"
#include "mgmt/manager-base.hpp"
-#include <ndn-cpp-dev/management/fib-management-options.hpp>
-#include <ndn-cpp-dev/management/control-response.hpp>
+#include <ndn-cpp-dev/management/nfd-fib-management-options.hpp>
namespace nfd {
+using ndn::nfd::FibManagementOptions;
+
class Forwarder;
class Fib;
@@ -35,28 +36,28 @@
private:
void
- insertEntry(const ndn::FibManagementOptions& options,
- ndn::ControlResponse& response);
+ insertEntry(const FibManagementOptions& options,
+ ControlResponse& response);
void
- deleteEntry(const ndn::FibManagementOptions& options,
- ndn::ControlResponse& response);
+ deleteEntry(const FibManagementOptions& options,
+ ControlResponse& response);
void
- addNextHop(const ndn::FibManagementOptions& options,
- ndn::ControlResponse& response);
+ addNextHop(const FibManagementOptions& options,
+ ControlResponse& response);
void
- removeNextHop(const ndn::FibManagementOptions& options,
- ndn::ControlResponse& response);
+ removeNextHop(const FibManagementOptions& options,
+ ControlResponse& response);
void
- strategy(const ndn::FibManagementOptions& options,
- ndn::ControlResponse& response);
+ strategy(const FibManagementOptions& options,
+ ControlResponse& response);
bool
extractOptions(const Interest& request,
- ndn::FibManagementOptions& extractedOptions);
+ FibManagementOptions& extractedOptions);
// void
// onConfig(ConfigFile::Node section, bool isDryRun);
@@ -68,8 +69,8 @@
std::map<Name, shared_ptr<fw::Strategy> > m_namespaceToStrategyMap;
typedef function<void(FibManager*,
- const ndn::FibManagementOptions&,
- ndn::ControlResponse&)> VerbProcessor;
+ const FibManagementOptions&,
+ ControlResponse&)> VerbProcessor;
typedef std::map<Name::Component, VerbProcessor> VerbDispatchTable;