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 /ldpd/ldpd.h | |
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 'ldpd/ldpd.h')
-rw-r--r-- | ldpd/ldpd.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ldpd/ldpd.h b/ldpd/ldpd.h index 3d0615cc0..9de3ea4a5 100644 --- a/ldpd/ldpd.h +++ b/ldpd/ldpd.h @@ -883,11 +883,11 @@ const char *pw_type_name(uint16_t); const char *pw_error_code(uint8_t); /* quagga */ -extern struct event_master *master; +extern struct event_loop *master; extern char ctl_sock_path[MAXPATHLEN]; /* ldp_zebra.c */ -void ldp_zebra_init(struct event_master *m); +void ldp_zebra_init(struct event_loop *m); void ldp_zebra_destroy(void); int ldp_sync_zebra_send_state_update(struct ldp_igp_sync_if_state *); int ldp_zebra_send_rlfa_labels(struct zapi_rlfa_response * @@ -904,7 +904,7 @@ void ldp_zebra_regdereg_zebra_info(bool want_register); (__IPV6_ADDR_MC_SCOPE(a) == __IPV6_ADDR_SCOPE_INTFACELOCAL)) #endif -DECLARE_HOOK(ldp_register_mib, (struct event_master * tm), (tm)); +DECLARE_HOOK(ldp_register_mib, (struct event_loop * tm), (tm)); extern void ldp_agentx_enabled(void); |