From 7f6618a3deb77fc5c4724c598ecacdbf87c5e9c4 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 17 Feb 2009 10:15:18 +0100 Subject: tevent: rename tevent_req_set_timeout() => tevent_req_set_endtime() This makes more clear what the function does. metze --- lib/tevent/tevent.h | 2 +- lib/tevent/tevent_req.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/tevent') diff --git a/lib/tevent/tevent.h b/lib/tevent/tevent.h index 8e3d0973eb..cf5e8e4930 100644 --- a/lib/tevent/tevent.h +++ b/lib/tevent/tevent.h @@ -278,7 +278,7 @@ struct tevent_req *_tevent_req_create(TALLOC_CTX *mem_ctx, _tevent_req_create((_mem_ctx), (_pstate), sizeof(_type), \ #_type, __location__) -bool tevent_req_set_timeout(struct tevent_req *req, +bool tevent_req_set_endtime(struct tevent_req *req, struct tevent_context *ev, struct timeval endtime); diff --git a/lib/tevent/tevent_req.c b/lib/tevent/tevent_req.c index 0846413f2e..800e3855d1 100644 --- a/lib/tevent/tevent_req.c +++ b/lib/tevent/tevent_req.c @@ -262,7 +262,7 @@ static void tevent_req_timedout(struct tevent_context *ev, tevent_req_finish(req, TEVENT_REQ_TIMED_OUT); } -bool tevent_req_set_timeout(struct tevent_req *req, +bool tevent_req_set_endtime(struct tevent_req *req, struct tevent_context *ev, struct timeval endtime) { -- cgit