00001 00004 #ifndef _TIMING_H 00005 #define _TIMING_H 00006 00007 #ifdef __cplusplus 00008 extern "C" { 00009 #endif 00010 00011 extern int alarmed; 00012 00016 struct hr_time 00017 { 00018 unsigned char opaque[32]; 00019 }; 00020 00024 unsigned long hardclock( void ); 00025 00032 unsigned long set_timer( struct hr_time *val, int reset ); 00033 00039 void set_alarm( int seconds ); 00040 00041 #ifdef __cplusplus 00042 } 00043 #endif 00044 00045 #endif /* timing.h */