2 * timer.h - This timer structure was originally based upon the one in
3 * the linux kernel, but has since evolved somewhat.
5 * Copyright (c) 1994, 1995, 1996 Eric Schenk.
6 * All rights reserved. Please see the file LICENSE which should be
7 * distributed with this software for terms of use.
11 struct timer_lst *next;
12 struct timer_lst *prev;
13 unsigned long expires; /* how long till expiration */
14 unsigned long expected; /* expected time of timeout */
15 unsigned long data; /* data to pass to function */
16 void (*function)(unsigned long); /* func to call on timeout */
19 extern void add_timer(struct timer_lst * timer);
20 extern int del_timer(struct timer_lst * timer);
21 extern void init_timer(struct timer_lst * timer);
22 extern void adjust_timer(void);
23 extern unsigned long timestamp(void);