From c8fa82b57179a4703d9ad13c81c5e31f560aa8eb Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Thu, 23 Sep 2004 01:27:22 +0000 Subject: [PATCH] Change interface to allow storing of handle address in timer structure. (Logical change 1.79) git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@277 fd59a12c-fef9-0310-b244-a6a79926bd2f --- exec/tlist.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/exec/tlist.h b/exec/tlist.h index 43156b41..4372d4dd 100644 --- a/exec/tlist.h +++ b/exec/tlist.h @@ -51,12 +51,13 @@ void timerlist_free (struct timerlist *timerlist); timer_handle timerlist_add_future (struct timerlist *timerlist, void (*timer_fn) (void *data), void *data, - int msec_in_future); + unsigned int msec_in_future, + timer_handle *handle); void timerlist_del (struct timerlist *timerlist, timer_handle timer_handle); void timerlist_expire (struct timerlist *timerlist); -int timerlist_timeout_msec (struct timerlist *timerlist); +unsigned int timerlist_timeout_msec (struct timerlist *timerlist); #endif /* TLIST_H_DEFINED */