summaryrefslogtreecommitdiff
path: root/lib/northbound.h
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2025-01-16 04:13:08 +0000
committerChristian Hopps <chopps@labn.net>2025-01-18 16:13:54 +0000
commit94f70c2100ef6709e03f28c541a8bfb175eff2c8 (patch)
treeccecb85a36b4a96cd4b7634051f3cce70d43cfea /lib/northbound.h
parent2375a11b088a6c8bc6f9133d7873d7096f7daa00 (diff)
lib: mgmt_be_client handles datastore notification using CBs
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'lib/northbound.h')
-rw-r--r--lib/northbound.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/northbound.h b/lib/northbound.h
index ce59bfd01a..c31f007e70 100644
--- a/lib/northbound.h
+++ b/lib/northbound.h
@@ -305,6 +305,7 @@ struct nb_cb_rpc_args {
struct nb_cb_notify_args {
/* XPath of the notification. */
const char *xpath;
+ uint8_t op;
/*
* libyang data node representing the notification. If the notification
@@ -861,7 +862,7 @@ extern const void *nb_callback_lookup_next(const struct nb_node *nb_node,
extern int nb_callback_rpc(const struct nb_node *nb_node, const char *xpath,
const struct lyd_node *input, struct lyd_node *output,
char *errmsg, size_t errmsg_len);
-extern void nb_callback_notify(const struct nb_node *nb_node, const char *xpath,
+extern void nb_callback_notify(const struct nb_node *nb_node, uint8_t op, const char *xpath,
struct lyd_node *dnode);
/*