diff options
author | Donald Sharp <sharpd@nvidia.com> | 2022-12-11 17:20:40 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2023-03-24 13:32:17 +0100 |
commit | 2453d15dbf7fff2d897c2182886486732be8ac35 (patch) | |
tree | 7a054859acf25689f67d5df7aa9d50b20bca4b62 /lib/libfrr.h | |
parent | *: Convert a bunch of thread_XX to event_XX (diff) | |
download | frr-2453d15dbf7fff2d897c2182886486732be8ac35.tar.xz frr-2453d15dbf7fff2d897c2182886486732be8ac35.zip |
*: Convert struct thread_master to struct event_master and it's ilk
Convert the `struct thread_master` to `struct event_master`
across the code base.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/libfrr.h')
-rw-r--r-- | lib/libfrr.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libfrr.h b/lib/libfrr.h index 5463222d7..3043d6b3f 100644 --- a/lib/libfrr.h +++ b/lib/libfrr.h @@ -133,22 +133,22 @@ extern int frr_getopt(int argc, char *const argv[], int *longindex); extern __attribute__((__noreturn__)) void frr_help_exit(int status); -extern struct thread_master *frr_init(void); +extern struct event_master *frr_init(void); extern const char *frr_get_progname(void); extern enum frr_cli_mode frr_get_cli_mode(void); extern uint32_t frr_get_fd_limit(void); extern bool frr_is_startup_fd(int fd); /* call order of these hooks is as ordered here */ -DECLARE_HOOK(frr_early_init, (struct thread_master * tm), (tm)); -DECLARE_HOOK(frr_late_init, (struct thread_master * tm), (tm)); +DECLARE_HOOK(frr_early_init, (struct event_master * tm), (tm)); +DECLARE_HOOK(frr_late_init, (struct event_master * tm), (tm)); /* fork() happens between late_init and config_pre */ -DECLARE_HOOK(frr_config_pre, (struct thread_master * tm), (tm)); -DECLARE_HOOK(frr_config_post, (struct thread_master * tm), (tm)); +DECLARE_HOOK(frr_config_pre, (struct event_master * tm), (tm)); +DECLARE_HOOK(frr_config_post, (struct event_master * tm), (tm)); extern void frr_config_fork(void); -extern void frr_run(struct thread_master *master); +extern void frr_run(struct event_master *master); extern void frr_detach(void); extern bool frr_zclient_addr(struct sockaddr_storage *sa, socklen_t *sa_len, |