Callbacks are registered by the server to handle events related to loading and unloading YANG modules from the YANG Library.
More...
Callbacks are registered by the server to handle events related to loading and unloading YANG modules from the YANG Library.
Callbacks are invoked when a module is loaded or unloaded.
◆ ncx_clear_load_callback()
Clear the callback function for a load-module event.
- Parameters
-
cbfn | callback function to use |
◆ ncx_clear_unload_callback()
Clear the callback function for an unload-module event.
- Parameters
-
cbfn | callback function to use |
◆ ncx_clear_yang_obj_callback()
Clear the callback function for a parse-object event.
- Parameters
-
cbfn | callback function to find and clear |
◆ ncx_get_owner_name()
Get the registered YANG library owner namefor owner_id
.
- Parameters
-
owner_id | owner identifier value to find string value |
- Returns
- string value for the owner ID or NULL if not found
◆ ncx_invoke_yang_obj_callbacks()
Invoke all the callback functions for a parse-object event.
- Parameters
-
mod | module parameter |
obj | object parameter |
◆ ncx_register_get_owner_fn()
Register a callback to get the owner name.
- Parameters
-
cbfn | callback function to register |
◆ ncx_set_load_callback()
Set the callback function for a load-module event.
- Parameters
-
cbfn | callback function to use |
- Returns
- status
◆ ncx_set_unload_callback()
Set the callback function for an unload-module event.
- Parameters
-
cbfn | callback function to use |
- Returns
- status
◆ ncx_set_yang_obj_callback()
Set the callback function for a YANG object parse event.
- Parameters
-
cbfn | callback function to set |
- Returns
- status