diff options
| author | Brian Somers <brian@FreeBSD.org> | 1998-04-03 19:21:56 +0000 |
|---|---|---|
| committer | Brian Somers <brian@FreeBSD.org> | 1998-04-03 19:21:56 +0000 |
| commit | 3b0f8d2ed641ceeded11c0d3f253b0cacbf00880 (patch) | |
| tree | d23344627008ee3c3fbe45b8aaa83290cd4ee5aa /usr.sbin/ppp/timer.h | |
| parent | 5cf4388bdf4c4e693f048a9d8563b298c16e8cb5 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/ppp/timer.h')
| -rw-r--r-- | usr.sbin/ppp/timer.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.sbin/ppp/timer.h b/usr.sbin/ppp/timer.h index e8df9b9387c7..d664f3c5b29a 100644 --- a/usr.sbin/ppp/timer.h +++ b/usr.sbin/ppp/timer.h @@ -15,16 +15,17 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: timer.h,v 1.4 1997/12/28 21:55:05 brian Exp $ + * $Id: timer.h,v 1.5 1998/01/21 02:15:30 brian Exp $ * * TODO: */ -#define TICKUNIT 100000 /* Unit in usec */ -#define SECTICKS (1000000/TICKUNIT) +#define TICKUNIT 100000 /* usec's per Unit */ +#define SECTICKS (1000000/TICKUNIT) /* Units per second */ struct pppTimer { int state; + const char *name; u_long rest; /* Ticks to expire */ u_long load; /* Initial load value */ void (*func)(void *); /* Function called when timer is expired */ @@ -40,7 +41,7 @@ struct pppTimer { extern void StartTimer(struct pppTimer *); extern void StopTimer(struct pppTimer *); extern void TermTimerService(void); -extern void ShowTimers(void); +extern void ShowTimers(int LogLevel); #ifdef SIGALRM extern void nointr_sleep(u_int); |
