summaryrefslogtreecommitdiffstats
path: root/sysdep/unix/timer.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-05-26 23:46:38 +0200
committerMartin Mares <mj@ucw.cz>1998-05-26 23:46:38 +0200
commitaf847acc27978cf48721aafbacab70e48f42ede7 (patch)
treef50833bcf15d71b9d6d7c4590da02ecc584b11da /sysdep/unix/timer.h
parent140f03410500420a4b44e62a98896a29c99a2b00 (diff)
downloadbird-af847acc27978cf48721aafbacab70e48f42ede7.tar
bird-af847acc27978cf48721aafbacab70e48f42ede7.zip
Whee, multicast sockets work!
Implemented recurrent timers.
Diffstat (limited to 'sysdep/unix/timer.h')
-rw-r--r--sysdep/unix/timer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdep/unix/timer.h b/sysdep/unix/timer.h
index 0589ec0..00307f7 100644
--- a/sysdep/unix/timer.h
+++ b/sysdep/unix/timer.h
@@ -20,6 +20,7 @@ typedef struct timer {
void (*hook)(struct timer *);
void *data;
unsigned randomize; /* Amount of randomization */
+ unsigned recurrent; /* Timer recurrence */
node n; /* Internal link */
clock_t expires; /* 0=inactive */
} timer;