diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2023-03-07 14:14:41 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-03-24 08:32:17 -0400 |
| commit | cd9d0537411d0a74cd19ae36f6d3716c8ccbb4c1 (patch) | |
| tree | f97009b8971d71b4c05cbc0d00b98608efd40e44 /lib/zclient.h | |
| parent | ce50d11c4d89304825b614d63fe6d7bd8ad2d517 (diff) | |
*: 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/zclient.h')
| -rw-r--r-- | lib/zclient.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/zclient.h b/lib/zclient.h index 0a20af8c36..367e5b1474 100644 --- a/lib/zclient.h +++ b/lib/zclient.h @@ -290,7 +290,7 @@ typedef int (zclient_handler)(ZAPI_CALLBACK_ARGS); /* Structure for the zebra client. */ struct zclient { /* The thread master we schedule ourselves on */ - struct event_master *master; + struct event_loop *master; /* Privileges to change socket values */ struct zebra_privs_t *privs; @@ -862,7 +862,7 @@ int zclient_neigh_ip_encode(struct stream *s, uint16_t cmd, union sockunion *in, extern uint32_t zclient_get_nhg_start(uint32_t proto); -extern struct zclient *zclient_new(struct event_master *m, +extern struct zclient *zclient_new(struct event_loop *m, struct zclient_options *opt, zclient_handler *const *handlers, size_t n_handlers); |
