diff options
author | Donald Sharp <sharpd@nvidia.com> | 2022-03-01 23:12:25 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2022-03-02 15:17:57 +0100 |
commit | 14416b1f331068a76a5bb79a1d5be52b25c9b01d (patch) | |
tree | c62f040c1aa6fe0b317750f284b4a2374472a79b /ospfd/ospf_apiserver.h | |
parent | lib: Rename `enum event` to `enum vty_event` (diff) | |
download | frr-14416b1f331068a76a5bb79a1d5be52b25c9b01d.tar.xz frr-14416b1f331068a76a5bb79a1d5be52b25c9b01d.zip |
ospfd: Convert `enum event` to `enum ospf_apiserver_event`
Let's name this something more appropriate to
what is being done.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'ospfd/ospf_apiserver.h')
-rw-r--r-- | ospfd/ospf_apiserver.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ospfd/ospf_apiserver.h b/ospfd/ospf_apiserver.h index 3994c8d50..3d5773708 100644 --- a/ospfd/ospf_apiserver.h +++ b/ospfd/ospf_apiserver.h @@ -68,7 +68,7 @@ struct ospf_apiserver { struct thread *t_async_write; }; -enum event { +enum ospf_apiserver_event { OSPF_APISERVER_ACCEPT, OSPF_APISERVER_SYNC_READ, #ifdef USE_ASYNC_READ @@ -88,7 +88,7 @@ extern int ospf_apiserver_init(void); extern void ospf_apiserver_term(void); extern struct ospf_apiserver *ospf_apiserver_new(int fd_sync, int fd_async); extern void ospf_apiserver_free(struct ospf_apiserver *apiserv); -extern void ospf_apiserver_event(enum event event, int fd, +extern void ospf_apiserver_event(enum ospf_apiserver_event event, int fd, struct ospf_apiserver *apiserv); extern int ospf_apiserver_serv_sock_family(unsigned short port, int family); extern void ospf_apiserver_accept(struct thread *thread); |