2007-01-19 03:09:22 +00:00
|
|
|
#ifndef _SYS_TIME_H
|
|
|
|
|
#define _SYS_TIME_H
|
|
|
|
|
|
2012-03-19 16:09:41 +00:00
|
|
|
/** @file
|
|
|
|
|
*
|
|
|
|
|
* Date and time
|
|
|
|
|
*/
|
2007-01-19 03:09:22 +00:00
|
|
|
|
2015-03-02 11:54:40 +00:00
|
|
|
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
2013-07-16 00:23:09 +02:00
|
|
|
|
2012-03-19 16:09:41 +00:00
|
|
|
#include <stdint.h>
|
2007-01-19 03:09:22 +00:00
|
|
|
|
2012-03-19 16:09:41 +00:00
|
|
|
/** Seconds since the Epoch
|
|
|
|
|
*
|
|
|
|
|
* We use a 64-bit type to avoid Y2K38 issues, since we may have to
|
|
|
|
|
* handle distant future dates (e.g. X.509 certificate expiry dates).
|
|
|
|
|
*/
|
|
|
|
|
typedef int64_t time_t;
|
2007-01-19 03:09:22 +00:00
|
|
|
|
|
|
|
|
#endif /* _SYS_TIME_H */
|