summaryrefslogtreecommitdiff
path: root/lib/tevent/tevent_standard.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-01-02 13:35:32 +0100
committerStefan Metzmacher <metze@samba.org>2009-01-02 18:16:51 +0100
commitd9529a331afaf1c82b24becc1d0d245e19d518aa (patch)
tree8261ffb5befdead63b2d8a2f5476309b0e850351 /lib/tevent/tevent_standard.c
parent0a73e8b334d2b9f5e8032c685d78b6425a9fa5e7 (diff)
downloadsamba-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_standard.c')
-rw-r--r--lib/tevent/tevent_standard.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/tevent/tevent_standard.c b/lib/tevent/tevent_standard.c
index 1c99408b8d..1c60fc0167 100644
--- a/lib/tevent/tevent_standard.c
+++ b/lib/tevent/tevent_standard.c
@@ -588,7 +588,7 @@ static int std_event_loop_wait(struct tevent_context *ev)
return std_ev->exit_code;
}
-static const struct event_ops std_event_ops = {
+static const struct tevent_ops std_event_ops = {
.context_init = std_event_context_init,
.add_fd = std_event_add_fd,
.get_fd_flags = std_event_get_fd_flags,
@@ -600,8 +600,8 @@ static const struct event_ops std_event_ops = {
};
-bool events_standard_init(void)
+bool tevent_standard_init(void)
{
- return event_register_backend("standard", &std_event_ops);
+ return tevent_register_backend("standard", &std_event_ops);
}