home *** CD-ROM | disk | FTP | other *** search
/ CD-X 1 / cdx_01.iso / demodisc / basq / dualmodp / timeserv.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-20  |  736 b   |  31 lines

  1. // ************************************************************************
  2. // *
  3. // *    File        : TIMESERV.H
  4. // *
  5. // *    Description : Header file for Timer Service
  6. // *
  7. // *    Copyright (C) 1992-1994 Otto Chrons
  8. // *
  9. // ************************************************************************
  10.  
  11. #ifndef __DSMIDEF_H
  12. #include "dsmidef.h"
  13. #endif
  14.  
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18.  
  19. int cdecl tsInit( void );
  20. void cdecl tsClose( void );
  21.  
  22. int cdecl tsAddRoutine( void (*func)(void), ulong time );
  23. int cdecl tsRemoveRoutine( long tag );
  24. int cdecl tsChangeRoutine( long tag, ulong time );
  25. int cdecl tsSetTimerRate( ulong time );
  26. unsigned int cdecl tsGetTimerRate( void );
  27.  
  28. #ifdef __cplusplus
  29. }
  30. #endif
  31.