summaryrefslogtreecommitdiff
path: root/lib/northbound_cli.h
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2021-10-25 07:55:39 -0400
committerGitHub <noreply@github.com>2021-10-25 07:55:39 -0400
commit6f354338f98c173dc9cdc9165c03acdf5fc5685e (patch)
treef5c12250c4adce7667eb7ce3ddee9070e3013133 /lib/northbound_cli.h
parentb793d3ce7103c10335047df83dd3cb68a376bff1 (diff)
parent2560505196b924f5c447f6c1d493ed9b74a13108 (diff)
Merge pull request #9824 from idryzhov/nb-cli-const-lyd-node
lib: northbound cli show/cmd functions must not modify data nodes
Diffstat (limited to 'lib/northbound_cli.h')
-rw-r--r--lib/northbound_cli.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/northbound_cli.h b/lib/northbound_cli.h
index 28f81f8b39..e472425447 100644
--- a/lib/northbound_cli.h
+++ b/lib/northbound_cli.h
@@ -127,7 +127,8 @@ extern int nb_cli_rpc(struct vty *vty, const char *xpath, struct list *input,
* show_defaults
* Specify whether to display default configuration values or not.
*/
-extern void nb_cli_show_dnode_cmds(struct vty *vty, struct lyd_node *dnode,
+extern void nb_cli_show_dnode_cmds(struct vty *vty,
+ const struct lyd_node *dnode,
bool show_defaults);
/*