summaryrefslogtreecommitdiff
path: root/lib/vty.h
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2024-03-20 00:46:07 +0200
committerIgor Ryzhov <iryzhov@nfware.com>2024-04-22 16:36:23 +0300
commita94f74bc2ed8165b66c640096586e78f63a0aaf4 (patch)
treed5e0d0f56973c0f9ea946a5707f85eef4830dbd8 /lib/vty.h
parentcb6c18285235be8a5d030f87db837632cc20611f (diff)
lib: add native RPC processing to mgmt frontend client
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'lib/vty.h')
-rw-r--r--lib/vty.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/vty.h b/lib/vty.h
index a51cee76fb..a9570ef048 100644
--- a/lib/vty.h
+++ b/lib/vty.h
@@ -427,6 +427,8 @@ extern int vty_mgmt_send_edit_req(struct vty *vty, uint8_t datastore,
LYD_FORMAT request_type, uint8_t flags,
uint8_t operation, const char *xpath,
const char *data);
+extern int vty_mgmt_send_rpc_req(struct vty *vty, LYD_FORMAT request_type,
+ const char *xpath, const char *data);
extern int vty_mgmt_send_lockds_req(struct vty *vty, Mgmtd__DatastoreId ds_id,
bool lock, bool scok);
extern void vty_mgmt_resume_response(struct vty *vty, int ret);