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_aio.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_aio.c')
-rw-r--r-- | lib/tevent/tevent_aio.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/tevent/tevent_aio.c b/lib/tevent/tevent_aio.c index 46a5d3d6fc..8d25791bea 100644 --- a/lib/tevent/tevent_aio.c +++ b/lib/tevent/tevent_aio.c @@ -549,7 +549,7 @@ static struct aio_event *aio_event_add_aio(struct tevent_context *ev, return ae; } -static const struct event_ops aio_event_ops = { +static const struct tevent_ops aio_event_ops = { .context_init = aio_event_context_init, .add_fd = aio_event_add_fd, .add_aio = aio_event_add_aio, @@ -561,8 +561,8 @@ static const struct event_ops aio_event_ops = { .loop_wait = aio_event_loop_wait, }; -bool events_aio_init(void) +bool tevent_aio_init(void) { - return event_register_backend("aio", &aio_event_ops); + return tevent_register_backend("aio", &aio_event_ops); } |