management: adding all high-level methods in nrd::Controller
Change-Id: Ib8d50dae5168f6f3ed3d30b22787cb3574f87e87
diff --git a/src/management/nfd-controller.hpp b/src/management/nfd-controller.hpp
index aa85656..a864db3 100644
--- a/src/management/nfd-controller.hpp
+++ b/src/management/nfd-controller.hpp
@@ -54,8 +54,8 @@
*/
void
fibAddNextHop(const Name& prefix, uint64_t faceId, int cost,
- const SuccessCallback& onSuccess,
- const FailCallback& onFail);
+ const FibCommandSucceedCallback& onSuccess,
+ const FailCallback& onFail);
/**
* \brief Remove a nexthop from FIB entry
@@ -72,8 +72,8 @@
*/
void
fibRemoveNextHop(const Name& prefix, uint64_t faceId,
- const SuccessCallback& onSuccess,
- const FailCallback& onFail);
+ const FibCommandSucceedCallback& onSuccess,
+ const FailCallback& onFail);
protected:
void