mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
20 lines
252 B
C++
20 lines
252 B
C++
#ifndef TIMESTAMP_H__
|
|
#define TIMESTAMP_H__
|
|
|
|
#include <inttypes.h>
|
|
|
|
namespace i2p
|
|
{
|
|
namespace util
|
|
{
|
|
uint64_t GetMillisecondsSinceEpoch ();
|
|
uint32_t GetHoursSinceEpoch ();
|
|
uint64_t GetSecondsSinceEpoch ();
|
|
|
|
void RequestNTPTimeSync ();
|
|
}
|
|
}
|
|
|
|
#endif
|
|
|