mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-02 11:04:00 +01: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
|
|
|