summaryrefslogtreecommitdiff
path: root/lib/yang.h
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2019-10-17 10:07:05 -0400
committerGitHub <noreply@github.com>2019-10-17 10:07:05 -0400
commit9cd06d69ad593dece680da49e3da6cfbb0af376e (patch)
tree42c91151ca75a429c42ca5226e2212ac6593d996 /lib/yang.h
parente75bbefa0e41995051d625aad3bfb5273ff3dc20 (diff)
parent07705c8b8a8650c499c74a2b365caf6bd0c7db2e (diff)
Merge pull request #5175 from opensourcerouting/debug-nb-yang
lib, vtysh: add new libyang option to the "debug northbound" command
Diffstat (limited to 'lib/yang.h')
-rw-r--r--lib/yang.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/yang.h b/lib/yang.h
index 322c74c76a..6892e36019 100644
--- a/lib/yang.h
+++ b/lib/yang.h
@@ -486,6 +486,14 @@ extern struct yang_data *yang_data_list_find(const struct list *list,
extern struct ly_ctx *yang_ctx_new_setup(void);
/*
+ * Enable or disable libyang verbose debugging.
+ *
+ * enable
+ * When set to true, enable libyang verbose debugging, otherwise disable it.
+ */
+extern void yang_debugging_set(bool enable);
+
+/*
* Initialize the YANG subsystem. Should be called only once during the
* daemon initialization process.
*/