home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / N / TCPIP / NNTP-1.000 / NNTP-1 / nntp.1.5.11t / server / timer.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-10-17  |  325 b   |  12 lines

  1. /* @(#) $Header: timer.h,v 1.2 90/12/12 00:52:56 sob Exp $ */
  2.  
  3. struct timer {
  4.     void (*subr)();        /* routine to invoke at timeout */
  5.     int resetoninput;    /* if true, reset timer on input */
  6.     long seconds;        /* seconds until a timeout */
  7.     long left;        /* seconds left until next timeout */
  8. };
  9.  
  10. void timer_init();
  11. int timer_sleep();
  12.