blob: c7f45909619f877b6ef08e54a93d7b3b0da27fd9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/**
* Time Functions
* (C) 1999-2009 Jack Lloyd
*
* Distributed under the terms of the Botan license
*/
#ifndef BOTAN_TIME_H__
#define BOTAN_TIME_H__
#include <botan/types.h>
#include <ctime>
namespace Botan {
/*
* Time Access/Conversion Functions
*/
BOTAN_DLL u64bit system_time();
BOTAN_DLL std::tm time_t_to_tm(u64bit);
/**
@return nanoseconds resolution timestamp, unknown epoch
*/
BOTAN_DLL u64bit get_nanoseconds_clock();
}
#endif
|