home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Misc / DC-POS24.LZX / pOS / pOSxA.lzx / pOSxA / clib / timer_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-03-12  |  720 b   |  37 lines

  1. #ifndef  CLIB_TIMER_PROTOS_H
  2. #define  CLIB_TIMER_PROTOS_H
  3.  
  4. #ifndef  DEVICES_TIMER_H
  5. #include <devices/timer.h>
  6. #endif
  7.  
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11.  
  12. void AddTime( struct timeval *dest, struct timeval *src );
  13. void SubTime( struct timeval *dest, struct timeval *src );
  14. LONG CmpTime( struct timeval *dest, struct timeval *src );
  15. void GetSysTime( struct timeval *dest );
  16.  
  17.  
  18.  
  19. #ifdef __IGNORE_NOT_SUPPORTED__
  20.  
  21.   ULONG ReadEClock( struct EClockVal *dest );
  22.  
  23. #else  /** __IGNORE_NOT_SUPPORTED__ **/
  24.  
  25. #define ReadEClock ReadEClock_NOT_SUPPORTED
  26.   ULONG ReadEClock(struct NOT_SUPPORTED*, struct EClockVal *dest );
  27.  
  28. #endif /** __IGNORE_NOT_SUPPORTED__ **/
  29.  
  30.  
  31.  
  32. #ifdef __cplusplus
  33. }
  34. #endif
  35.  
  36. #endif     /* CLIB_TIMER_PROTOS_H */
  37.