face: move common declarations to face-common.hpp
Change-Id: I0e3e7a93f0693b0e24ca67493a4229987e792ef4
diff --git a/daemon/face/face.hpp b/daemon/face/face.hpp
index e96bc31..dc8c20d 100644
--- a/daemon/face/face.hpp
+++ b/daemon/face/face.hpp
@@ -26,29 +26,14 @@
#ifndef NFD_DAEMON_FACE_FACE_HPP
#define NFD_DAEMON_FACE_FACE_HPP
+#include "face-common.hpp"
#include "face-counters.hpp"
-#include "face-log.hpp"
#include "link-service.hpp"
#include "transport.hpp"
namespace nfd {
namespace face {
-/** \brief identifies a face
- */
-typedef uint64_t FaceId;
-
-/// indicates an invalid FaceId
-const FaceId INVALID_FACEID = 0;
-/// identifies the InternalFace used in management
-const FaceId FACEID_INTERNAL_FACE = 1;
-/// identifies a packet comes from the ContentStore
-const FaceId FACEID_CONTENT_STORE = 254;
-/// identifies the NullFace that drops every packet
-const FaceId FACEID_NULL = 255;
-/// upper bound of reserved FaceIds
-const FaceId FACEID_RESERVED_MAX = 255;
-
/** \brief indicates the state of a face
*/
typedef TransportState FaceState;
@@ -295,8 +280,6 @@
} // namespace face
-using face::EndpointId;
-using face::FaceId;
using face::Face;
} // namespace nfd