summaryrefslogtreecommitdiff
path: root/lib/northbound.h
diff options
context:
space:
mode:
authorGalaxyGorilla <sascha@netdef.org>2020-03-10 09:30:20 +0000
committerSebastien Merle <sebastien@netdef.org>2020-08-07 11:08:49 +0200
commitb112b1abb4c9b9d4b234b46b1db05de9293a48ef (patch)
tree7dc47e8c1ae051586b04873e9d843e555af1b2c2 /lib/northbound.h
parent7658c2e56053e99cce68d63e754f89c071ac3d37 (diff)
lib: add possibility to search non-recursively for NB node entries
Signed-off-by: GalaxyGorilla <sascha@netdef.org>
Diffstat (limited to 'lib/northbound.h')
-rw-r--r--lib/northbound.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/northbound.h b/lib/northbound.h
index bd57013f59..d5028ea7d2 100644
--- a/lib/northbound.h
+++ b/lib/northbound.h
@@ -1165,6 +1165,14 @@ extern void *nb_running_get_entry(const struct lyd_node *dnode,
const char *xpath, bool abort_if_not_found);
/*
+ * Same as 'nb_running_get_entry', but doesn't search within parent nodes
+ * recursively if an user point is not found.
+ */
+extern void *nb_running_get_entry_non_rec(const struct lyd_node *dnode,
+ const char *xpath,
+ bool abort_if_not_found);
+
+/*
* Return a human-readable string representing a northbound event.
*
* event