home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / OTL-MC6.DMS / in.adf / incl.lha / INCLUDE / clib / timer_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-29  |  734 b   |  35 lines

  1. #ifndef  CLIB_TIMER_PROTOS_H
  2. #define  CLIB_TIMER_PROTOS_H
  3.  
  4. /*
  5. **    $VER: timer_protos.h 1.6 (25.1.91)
  6. **    Includes Release 40.15
  7. **
  8. **    C prototypes. For use with 32 bit integers only.
  9. **
  10. **    (C) Copyright 1990-1993 Commodore-Amiga, Inc.
  11. **        All Rights Reserved
  12. */
  13.  
  14. #ifndef  DEVICES_TIMER_H
  15. #include <devices/timer.h>
  16. #endif
  17.  
  18. #ifdef __cplusplus
  19. #define CLIBCPLUSON
  20. #pragma -
  21. #endif
  22.  
  23. void AddTime( struct timeval *dest, struct timeval *src );
  24. void SubTime( struct timeval *dest, struct timeval *src );
  25. LONG CmpTime( struct timeval *dest, struct timeval *src );
  26. ULONG ReadEClock( struct EClockVal *dest );
  27. void GetSysTime( struct timeval *dest );
  28.  
  29. #ifdef CLIBCPLUSON
  30. #undef CLIBCPLUSON
  31. #pragma +
  32. #endif
  33.  
  34. #endif     /* CLIB_TIMER_PROTOS_H */
  35.