2013-05-13 09:45:28 -04:00
|
|
|
#ifndef __TIME_H
|
|
|
|
#define __TIME_H
|
|
|
|
|
2013-07-11 13:00:48 -04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2013-05-13 09:45:28 -04:00
|
|
|
void time_init(void);
|
|
|
|
int elapsed(int *last_event, int period);
|
|
|
|
|
2013-07-11 13:00:48 -04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2013-05-13 09:45:28 -04:00
|
|
|
#endif /* __TIME_H */
|