home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 2 / fishmore-publicdomainlibraryvol.ii1991xetec.iso / dirs / timer_429.lzh / Timer / timer.h < prev   
C/C++ Source or Header  |  1991-01-10  |  539b  |  26 lines

  1. /**************************************
  2. *  TIMER.H  08/04/90
  3. *  Written by Timm Martin
  4. *  This source code is public domain.
  5. ***************************************/
  6.  
  7. #ifndef TIMER_H
  8. #define TIMER_H
  9.  
  10. #ifndef EXEC_PORTS_H
  11. #include <exec/ports.h>
  12. #endif
  13.  
  14. #define MICROS_PER_SEC 1000000L
  15.  
  16. extern struct MsgPort *timer_port;
  17.  
  18. extern void timer_abort( void );
  19. extern void timer_close( void );
  20. extern BOOL timer_open( void );
  21. extern void timer_start( long micros );
  22. extern BOOL timer_test( void );
  23. extern void timer_wait( long micros );
  24.  
  25. #endif
  26.