diff options
author | Kai Blin <kai@samba.org> | 2009-02-16 23:34:15 +0100 |
---|---|---|
committer | Kai Blin <kai@samba.org> | 2009-02-17 09:19:31 +0100 |
commit | 48b874e3764a20952dfd5e2957a3074073b480db (patch) | |
tree | a740b0c89205c06b9856d553a5594d95799550bd /lib/tevent/tevent_req.c | |
parent | 046cb24d0ad76b8e01c9c7d0d0146af9f6576047 (diff) | |
download | samba-48b874e3764a20952dfd5e2957a3074073b480db.tar.gz samba-48b874e3764a20952dfd5e2957a3074073b480db.tar.bz2 samba-48b874e3764a20952dfd5e2957a3074073b480db.zip |
tevent: Rename ev_timeval* functions to tevent_timeval, export them.
Also add tevent_timeval_add() and tevent_timeval_current_ofs()
to help not depending on lub/util/time.c for things that just need tevent
Diffstat (limited to 'lib/tevent/tevent_req.c')
-rw-r--r-- | lib/tevent/tevent_req.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tevent/tevent_req.c b/lib/tevent/tevent_req.c index 8f2d7bb9bd..0846413f2e 100644 --- a/lib/tevent/tevent_req.c +++ b/lib/tevent/tevent_req.c @@ -216,7 +216,7 @@ static void tevent_req_trigger(struct tevent_context *ev, struct tevent_req *tevent_req_post(struct tevent_req *req, struct tevent_context *ev) { - req->internal.trigger = tevent_add_timer(ev, req, ev_timeval_zero(), + req->internal.trigger = tevent_add_timer(ev, req, tevent_timeval_zero(), tevent_req_trigger, req); if (!req->internal.trigger) { talloc_free(req); |