PolarSSL v1.2.8
timing.h
Go to the documentation of this file.
1 
27 #ifndef POLARSSL_TIMING_H
28 #define POLARSSL_TIMING_H
29 
33 struct hr_time
34 {
35  unsigned char opaque[32];
36 };
37 
38 #ifdef __cplusplus
39 extern "C" {
40 #endif
41 
42 extern volatile int alarmed;
43 
47 unsigned long hardclock( void );
48 
55 unsigned long get_timer( struct hr_time *val, int reset );
56 
62 void set_alarm( int seconds );
63 
69 void m_sleep( int milliseconds );
70 
71 #ifdef __cplusplus
72 }
73 #endif
74 
75 #endif /* timing.h */