mgmt: replace FaceFlags with individual fields
refs #1992
Change-Id: I41d55b3227c916a253705aaeefbe66c7c18e22a9
diff --git a/daemon/face/face.hpp b/daemon/face/face.hpp
index 52c0894..8234102 100644
--- a/daemon/face/face.hpp
+++ b/daemon/face/face.hpp
@@ -32,6 +32,7 @@
#include "face-counters.hpp"
#include <ndn-cxx/management/nfd-face-status.hpp>
+#include <ndn-cxx/management/nfd-face-event-notification.hpp>
namespace nfd {
@@ -163,6 +164,12 @@
const FaceUri&
getLocalUri() const;
+ /** \return FaceTraits data structure filled with the current FaceTraits status
+ */
+ template<typename FaceTraits>
+ void
+ copyStatusTo(FaceTraits& traits) const;
+
/** \return FaceStatus data structure filled with the current Face status
*/
virtual ndn::nfd::FaceStatus
@@ -202,7 +209,6 @@
friend class FaceTable;
};
-
inline bool
Face::isLocal() const
{