home *** CD-ROM | disk | FTP | other *** search
/ Acorn User 4 / AUCD4.iso / acorn / riscos / releases / timesrc / !CD_Deck / h / TimeLib < prev   
Text File  |  1995-11-06  |  2KB  |  48 lines

  1. /* header file for TimeShare SWI veneers */
  2.  
  3. struct information { char *name; int size; int words[128]; };
  4.  
  5. _kernel_oserror *timeshare_readcurrentclock(int flags, int *clock, int *framerate);
  6.  
  7. _kernel_oserror *timeshare_readactiveclocktransmitters(int flags, int *table);
  8.  
  9. _kernel_oserror *timeshare_readavailableclocks(int flags, int *table);
  10.  
  11. _kernel_oserror *timeshare_readavailableclocktransmitters(int flags, int *table);
  12.  
  13. _kernel_oserror *timeshare_interruptschedule(int flags, int *schedule, int rate, int dataword, int address);
  14.  
  15. _kernel_oserror *timeshare_pollwordschedule(int flags, int *schedule, int rate, int pollword);
  16.  
  17. _kernel_oserror *timeshare_timesharevschedule(int flags, int *schedule, int rate);
  18.  
  19. _kernel_oserror *timeshare_clocktransmittercontrol(int flags, int *framerate, int transmitter);
  20.  
  21. _kernel_oserror *timeshare_clockcontrol(int flags, int clock, int data);
  22.  
  23. _kernel_oserror *timeshare_readtimeaddress(int flags, int *timeaddress, int *clients);
  24.  
  25. _kernel_oserror *timeshare_readtime(int flags, int framerate, int *time);
  26.  
  27. _kernel_oserror *timeshare_converttimetospecified(int flags, int framerate, int *time);
  28.  
  29. _kernel_oserror *timeshare_converttimefromspecified(int flags, int framerate, int *time);
  30.  
  31. _kernel_oserror *timeshare_readclockinformation(int flags, int clock, struct information *info);
  32.  
  33. _kernel_oserror *timeshare_readclocktransmitterinformation(int flags, int transmitter, struct information *info);
  34.  
  35. _kernel_oserror *timeshare_interpretframerateidentifier(int flags, int framerate, char *result, int *size);
  36.  
  37. _kernel_oserror *timeshare_deregister(int flags, int *count);
  38.  
  39. #define action_select 0<<8
  40. #define action_deselect 1<<8
  41. #define action_setframe 2<<8
  42. #define action_start 3<<8
  43. #define action_stop 4<<8
  44. #define action_set 5<<8
  45. #define action_setspeed 6<<8
  46.  
  47. #define reverse 0x8000000
  48.