summaryrefslogtreecommitdiff
path: root/lib/mgmt_be_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mgmt_be_client.h')
-rw-r--r--lib/mgmt_be_client.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/lib/mgmt_be_client.h b/lib/mgmt_be_client.h
index bf875f5a45..66bc62fb08 100644
--- a/lib/mgmt_be_client.h
+++ b/lib/mgmt_be_client.h
@@ -12,6 +12,8 @@
extern "C" {
#endif
+#include "northbound.h"
+#include "mgmt_pb.h"
#include "mgmtd/mgmt_defines.h"
/***************************************************************
@@ -80,18 +82,6 @@ enum mgmt_be_client_id {
#define MGMTD_BE_MAX_CLIENTS_PER_XPATH_REG 32
-struct mgmt_be_msg_hdr {
- uint16_t marker;
- uint16_t len; /* Includes header */
-};
-#define MGMTD_BE_MSG_HDR_LEN sizeof(struct mgmt_be_msg_hdr)
-#define MGMTD_BE_MSG_MARKER 0xfeed
-
-struct mgmt_be_msg {
- struct mgmt_be_msg_hdr hdr;
- uint8_t payload[];
-};
-
struct mgmt_be_client_txn_ctx {
uintptr_t *user_ctx;
};