diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-01-02 13:35:32 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-01-02 18:16:51 +0100 |
commit | d9529a331afaf1c82b24becc1d0d245e19d518aa (patch) | |
tree | 8261ffb5befdead63b2d8a2f5476309b0e850351 /lib/tevent/tevent_epoll.c | |
parent | 0a73e8b334d2b9f5e8032c685d78b6425a9fa5e7 (diff) | |
download | samba-d9529a331afaf1c82b24becc1d0d245e19d518aa.tar.gz samba-d9529a331afaf1c82b24becc1d0d245e19d518aa.tar.bz2 samba-d9529a331afaf1c82b24becc1d0d245e19d518aa.zip |
tevent: rename event_register_backend() => tevent_register_backend()
And fix the callers and there init functions.
metze
Diffstat (limited to 'lib/tevent/tevent_epoll.c')
-rw-r--r-- | lib/tevent/tevent_epoll.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/tevent/tevent_epoll.c b/lib/tevent/tevent_epoll.c index ab07515f10..1f853e60f1 100644 --- a/lib/tevent/tevent_epoll.c +++ b/lib/tevent/tevent_epoll.c @@ -465,7 +465,7 @@ static int epoll_event_loop_wait(struct tevent_context *ev) return 0; } -static const struct event_ops epoll_event_ops = { +static const struct tevent_ops epoll_event_ops = { .context_init = epoll_event_context_init, .add_fd = epoll_event_add_fd, .get_fd_flags = epoll_event_get_fd_flags, @@ -476,7 +476,7 @@ static const struct event_ops epoll_event_ops = { .loop_wait = epoll_event_loop_wait, }; -bool events_epoll_init(void) +bool tevent_epoll_init(void) { - return event_register_backend("epoll", &epoll_event_ops); + return tevent_register_backend("epoll", &epoll_event_ops); } |