PolarSSL v1.1.4
|
00001 00027 #ifndef POLARSSL_TIMING_H 00028 #define POLARSSL_TIMING_H 00029 00033 struct hr_time 00034 { 00035 unsigned char opaque[32]; 00036 }; 00037 00038 #ifdef __cplusplus 00039 extern "C" { 00040 #endif 00041 00042 extern volatile int alarmed; 00043 00047 unsigned long hardclock( void ); 00048 00055 unsigned long get_timer( struct hr_time *val, int reset ); 00056 00062 void set_alarm( int seconds ); 00063 00069 void m_sleep( int milliseconds ); 00070 00071 #ifdef __cplusplus 00072 } 00073 #endif 00074 00075 #endif /* timing.h */