PolarSSL
polarssl/timing.h
Go to the documentation of this file.
00001 
00025 #ifndef POLARSSL_TIMING_H
00026 #define POLARSSL_TIMING_H
00027 
00031 struct hr_time
00032 {
00033     unsigned char opaque[32];
00034 };
00035 
00036 #ifdef __cplusplus
00037 extern "C" {
00038 #endif
00039 
00040 extern int alarmed;
00041 
00045 unsigned long hardclock( void );
00046 
00053 unsigned long get_timer( struct hr_time *val, int reset );
00054 
00060 void set_alarm( int seconds );
00061 
00067 void m_sleep( int milliseconds );
00068 
00069 #ifdef __cplusplus
00070 }
00071 #endif
00072 
00073 #endif /* timing.h */
 All Classes Files Functions Variables Defines