mgmt: refactor management modules to use ControlCommand
Change-Id: Icf5e10f2f2d0b95c85fd871e6484c3ed58ed6c46
diff --git a/daemon/mgmt/face-manager.hpp b/daemon/mgmt/face-manager.hpp
index 7312bba..4033b67 100644
--- a/daemon/mgmt/face-manager.hpp
+++ b/daemon/mgmt/face-manager.hpp
@@ -73,10 +73,11 @@
ControlParameters& parameters);
VIRTUAL_WITH_TESTS bool
- validateLocalControlParameters(const Interest& request,
- ControlParameters& parameters,
- shared_ptr<LocalFace>& outFace,
- LocalControlFeature& outFeature);
+ extractLocalControlParameters(const Interest& request,
+ ControlParameters& parameters,
+ ControlCommand& command,
+ shared_ptr<LocalFace>& outFace,
+ LocalControlFeature& outFeature);
VIRTUAL_WITH_TESTS void
enableLocalControl(const Interest& request,