00001
00004 #ifndef XYSSL_TIMING_H
00005 #define XYSSL_TIMING_H
00006
00010 struct hr_time
00011 {
00012 unsigned char opaque[32];
00013 };
00014
00015 #ifdef __cplusplus
00016 extern "C" {
00017 #endif
00018
00019 extern int alarmed;
00020
00024 unsigned long hardclock( void );
00025
00032 unsigned long get_timer( struct hr_time *val, int reset );
00033
00039 void set_alarm( int seconds );
00040
00044 void m_sleep( int milliseconds );
00045
00046 #ifdef __cplusplus
00047 }
00048 #endif
00049
00050 #endif