diff options
Diffstat (limited to 'old/botan/build/botan/tm_posix.h')
-rw-r--r-- | old/botan/build/botan/tm_posix.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/old/botan/build/botan/tm_posix.h b/old/botan/build/botan/tm_posix.h new file mode 100644 index 0000000..8bedccf --- /dev/null +++ b/old/botan/build/botan/tm_posix.h @@ -0,0 +1,27 @@ +/* +* POSIX Timer +* (C) 1999-2007 Jack Lloyd +* +* Distributed under the terms of the Botan license +*/ + +#ifndef BOTAN_TIMER_POSIX_H__ +#define BOTAN_TIMER_POSIX_H__ + +#include <botan/timer.h> + +namespace Botan { + +/* +* POSIX Timer +*/ +class BOTAN_DLL POSIX_Timer : public Timer + { + public: + std::string name() const { return "POSIX clock_gettime"; } + u64bit clock() const; + }; + +} + +#endif |