summaryrefslogtreecommitdiff
path: root/lib/mgmt_fe_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mgmt_fe_client.h')
-rw-r--r--lib/mgmt_fe_client.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/lib/mgmt_fe_client.h b/lib/mgmt_fe_client.h
index 4ebecca215..ac29b8f27c 100644
--- a/lib/mgmt_fe_client.h
+++ b/lib/mgmt_fe_client.h
@@ -12,8 +12,9 @@
extern "C" {
#endif
-#include "mgmtd/mgmt_defines.h"
#include "mgmt_pb.h"
+#include "thread.h"
+#include "mgmtd/mgmt_defines.h"
/***************************************************************
* Macros
@@ -55,18 +56,6 @@ extern "C" {
#define MGMTD_DS_OPERATIONAL MGMTD__DATASTORE_ID__OPERATIONAL_DS
#define MGMTD_DS_MAX_ID MGMTD_DS_OPERATIONAL + 1
-struct mgmt_fe_msg_hdr {
- uint16_t marker;
- uint16_t len; /* Includes header */
-};
-#define MGMTD_FE_MSG_HDR_LEN sizeof(struct mgmt_fe_msg_hdr)
-#define MGMTD_FE_MSG_MARKER 0xdeaf
-
-struct mgmt_fe_msg {
- struct mgmt_fe_msg_hdr hdr;
- uint8_t payload[];
-};
-
/*
* All the client specific information this library needs to
* initialize itself, setup connection with MGMTD FrontEnd interface