summaryrefslogtreecommitdiff
path: root/lib/mgmt_fe_client.h
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2024-01-13 22:34:17 +0200
committerIgor Ryzhov <iryzhov@nfware.com>2024-01-14 20:00:22 +0200
commit25d79af9578ba339b105c3d65c9706ae17419527 (patch)
treefff4c0b539cf86c28baa9df302304c196614d198 /lib/mgmt_fe_client.h
parent88275d392ab781961f3bfa1ab773a73063b4e6bc (diff)
lib, mgmtd: add separate get-data request for the frontend
Currently it's the same as get-tree request for the backend, but it is going to be expanded in the following commits. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'lib/mgmt_fe_client.h')
-rw-r--r--lib/mgmt_fe_client.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mgmt_fe_client.h b/lib/mgmt_fe_client.h
index f3292d18fd..95e73ca594 100644
--- a/lib/mgmt_fe_client.h
+++ b/lib/mgmt_fe_client.h
@@ -367,7 +367,7 @@ extern int mgmt_fe_send_regnotify_req(struct mgmt_fe_client *client,
int num_reqs);
/*
- * Send GET-TREE to MGMTD daemon.
+ * Send GET-DATA to MGMTD daemon.
*
* client
* Client object.
@@ -387,7 +387,7 @@ extern int mgmt_fe_send_regnotify_req(struct mgmt_fe_client *client,
* Returns:
* 0 on success, otherwise msg_conn_send_msg() return values.
*/
-extern int mgmt_fe_send_get_tree_req(struct mgmt_fe_client *client,
+extern int mgmt_fe_send_get_data_req(struct mgmt_fe_client *client,
uint64_t session_id, uint64_t req_id,
LYD_FORMAT result_type, const char *xpath);