diff options
| author | Christian Hopps <chopps@labn.net> | 2024-01-30 03:05:18 -0500 | 
|---|---|---|
| committer | Christian Hopps <chopps@labn.net> | 2024-01-30 04:57:10 -0500 | 
| commit | 25bb8b203cdbf3b40f938add7352666146183c03 (patch) | |
| tree | 90ba100c73a7f97401bd9362daa9a0a86a9f957c /lib/mgmt_be_client.h | |
| parent | cd869ebcf2ec13cf50071d2826d0aa1b309a30e9 (diff) | |
lib: mgmtd: add YANG notification support
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'lib/mgmt_be_client.h')
| -rw-r--r-- | lib/mgmt_be_client.h | 9 | 
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/mgmt_be_client.h b/lib/mgmt_be_client.h index 8ad482cacf..930cbf0cdc 100644 --- a/lib/mgmt_be_client.h +++ b/lib/mgmt_be_client.h @@ -136,6 +136,15 @@ extern int mgmt_be_send_subscr_req(struct mgmt_be_client *client,  				   bool subscr_xpaths, int num_xpaths,  				   char **reg_xpaths); +/** + * mgmt_be_notification_send() - send a YANG notification to FE clients. + * @tree: libyang tree for the notification. The tree will be freed by + *        this function. + * + */ +extern void mgmt_be_send_notification(struct lyd_node *tree); + +  /*   * Destroy backend client and cleanup everything.   */  | 
