summaryrefslogtreecommitdiff
path: root/lib/vty.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/vty.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/vty.h')
-rw-r--r--lib/vty.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vty.h b/lib/vty.h
index 5866eccde0..044e6433d1 100644
--- a/lib/vty.h
+++ b/lib/vty.h
@@ -420,7 +420,7 @@ extern int vty_mgmt_send_commit_config(struct vty *vty, bool validate_only,
extern int vty_mgmt_send_get_req(struct vty *vty, bool is_config,
Mgmtd__DatastoreId datastore,
const char **xpath_list, int num_req);
-extern int vty_mgmt_send_get_tree_req(struct vty *vty, LYD_FORMAT result_type,
+extern int vty_mgmt_send_get_data_req(struct vty *vty, LYD_FORMAT result_type,
const char *xpath);
extern int vty_mgmt_send_lockds_req(struct vty *vty, Mgmtd__DatastoreId ds_id,
bool lock, bool scok);