i2pd/libi2pd/Timestamp.h

20 lines
252 B
C
Raw Normal View History

2013-10-27 16:29:34 +01:00
#ifndef TIMESTAMP_H__
#define TIMESTAMP_H__
#include <inttypes.h>
namespace i2p
{
namespace util
{
2018-11-14 17:06:53 +01:00
uint64_t GetMillisecondsSinceEpoch ();
uint32_t GetHoursSinceEpoch ();
uint64_t GetSecondsSinceEpoch ();
2013-10-27 16:29:34 +01:00
2018-11-14 17:06:53 +01:00
void RequestNTPTimeSync ();
2013-10-27 16:29:34 +01:00
}
}
#endif