diff options
author | Donald Sharp <sharpd@nvidia.com> | 2023-03-07 20:14:41 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2023-03-24 13:32:17 +0100 |
commit | cd9d0537411d0a74cd19ae36f6d3716c8ccbb4c1 (patch) | |
tree | f97009b8971d71b4c05cbc0d00b98608efd40e44 /lib/northbound_cli.c | |
parent | *: Convert thread_master_XXX functions to event_master_XXX (diff) | |
download | frr-cd9d0537411d0a74cd19ae36f6d3716c8ccbb4c1.tar.xz frr-cd9d0537411d0a74cd19ae36f6d3716c8ccbb4c1.zip |
*: Convert `struct event_master` to `struct event_loop`
Let's find a better name for it.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/northbound_cli.c')
-rw-r--r-- | lib/northbound_cli.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/northbound_cli.c b/lib/northbound_cli.c index f480182c7..5cf5f93b4 100644 --- a/lib/northbound_cli.c +++ b/lib/northbound_cli.c @@ -29,7 +29,7 @@ struct debug nb_dbg_events = {0, "Northbound events"}; struct debug nb_dbg_libyang = {0, "libyang debugging"}; struct nb_config *vty_shared_candidate_config; -static struct event_master *master; +static struct event_loop *master; static void vty_show_nb_errors(struct vty *vty, int error, const char *errmsg) { @@ -1876,7 +1876,7 @@ static const struct cmd_variable_handler yang_var_handlers[] = { .completions = yang_translator_autocomplete}, {.completions = NULL}}; -void nb_cli_init(struct event_master *tm) +void nb_cli_init(struct event_loop *tm) { master = tm; |