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_select.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_select.c')
-rw-r--r-- | lib/tevent/tevent_select.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/tevent/tevent_select.c b/lib/tevent/tevent_select.c index 3e72ce4943..103e5ac1fa 100644 --- a/lib/tevent/tevent_select.c +++ b/lib/tevent/tevent_select.c @@ -284,7 +284,7 @@ static int select_event_loop_wait(struct tevent_context *ev) return select_ev->exit_code; } -static const struct event_ops select_event_ops = { +static const struct tevent_ops select_event_ops = { .context_init = select_event_context_init, .add_fd = select_event_add_fd, .get_fd_flags = select_event_get_fd_flags, @@ -295,8 +295,7 @@ static const struct event_ops select_event_ops = { .loop_wait = select_event_loop_wait, }; -bool events_select_init(void) +bool tevent_select_init(void) { - return event_register_backend("select", &select_event_ops); + return tevent_register_backend("select", &select_event_ops); } - |