summaryrefslogtreecommitdiffstats
path: root/mgmtd/mgmt_be_adapter.h
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2023-12-13 23:32:43 +0100
committerChristian Hopps <chopps@labn.net>2023-12-28 18:53:40 +0100
commit4e0147a05ebfa0ba1f262b1e191d3cbf1a44003d (patch)
treeaa2b0429196378f6ec2906a43fd4025ef9332f83 /mgmtd/mgmt_be_adapter.h
parentlib: northbound: add yielding and batching to oper-state queries (diff)
downloadfrr-4e0147a05ebfa0ba1f262b1e191d3cbf1a44003d.tar.xz
frr-4e0147a05ebfa0ba1f262b1e191d3cbf1a44003d.zip
lib: add dedicated API functions for native msgs
- reorg native message header Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'mgmtd/mgmt_be_adapter.h')
-rw-r--r--mgmtd/mgmt_be_adapter.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/mgmtd/mgmt_be_adapter.h b/mgmtd/mgmt_be_adapter.h
index b8abd016e..2afac949f 100644
--- a/mgmtd/mgmt_be_adapter.h
+++ b/mgmtd/mgmt_be_adapter.h
@@ -220,12 +220,12 @@ extern void mgmt_be_xpath_register_write(struct vty *vty);
*
* Args:
* adapter: the client to send the message to.
- * msg: the message data.
- * len: the length of the message data.
+ * msg: a native message from mgmt_msg_native_alloc_msg()
+ *
* Return:
- * Any return value from msg_conn_send_msg.
+ * Any return value from msg_conn_send_msg().
*/
-extern int mgmt_be_send_native(enum mgmt_be_client_id id, void *data, size_t len);
+extern int mgmt_be_send_native(enum mgmt_be_client_id id, void *msg);
/**
* Lookup the clients which are subscribed to a given `xpath`