This repository has been archived on 2020-12-06. You can view files and clone it, but cannot push or open issues or pull requests.
2007-01-19 04:09:22 +01:00
|
|
|
#ifndef _SYS_TIME_H
|
|
|
|
#define _SYS_TIME_H
|
|
|
|
|
2012-03-19 17:09:41 +01:00
|
|
|
/** @file
|
|
|
|
*
|
|
|
|
* Date and time
|
|
|
|
*/
|
2007-01-19 04:09:22 +01:00
|
|
|
|
2013-07-16 00:23:09 +02:00
|
|
|
FILE_LICENCE ( GPL2_OR_LATER );
|
|
|
|
|
2012-03-19 17:09:41 +01:00
|
|
|
#include <stdint.h>
|
2007-01-19 04:09:22 +01:00
|
|
|
|
2012-03-19 17:09:41 +01: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 04:09:22 +01:00
|
|
|
|
|
|
|
#endif /* _SYS_TIME_H */
|