1 |
/* Timers. |
/* Timers. |
2 |
Copyright 1999, 2000, 2001 Johan Rydberg, jrydberg@opencores.org. |
Copyright 1999, 2000, 2001, 2002 Johan Rydberg, jrydberg@rtmk.org. |
3 |
|
|
4 |
This program is free software; you can redistribute it and/or modify |
This program is free software; you can redistribute it and/or modify |
5 |
it under the terms of the GNU General Public License as published by |
it under the terms of the GNU General Public License as published by |
68 |
|
|
69 |
extern int timeout (int millisecs, void (*timeout_fn) (void *arg), void *arg); |
extern int timeout (int millisecs, void (*timeout_fn) (void *arg), void *arg); |
70 |
|
|
71 |
|
/* Cancel a previous call to timeout (MS, FN, ARG). FN and ARG |
72 |
|
must match an entry in the callout list. */ |
73 |
|
|
74 |
|
extern void untimeout (void (*fn) (void *arg), void *arg); |
75 |
|
|
76 |
#endif /* timer.h */ |
#endif /* timer.h */ |