aboutsummaryrefslogtreecommitdiffstats
path: root/modules/timer/gettimeofday/tm_unix.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/timer/gettimeofday/tm_unix.h')
-rw-r--r--modules/timer/gettimeofday/tm_unix.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/modules/timer/gettimeofday/tm_unix.h b/modules/timer/gettimeofday/tm_unix.h
new file mode 100644
index 000000000..4b5b3e9dd
--- /dev/null
+++ b/modules/timer/gettimeofday/tm_unix.h
@@ -0,0 +1,24 @@
+/*************************************************
+* Unix Timer Header File *
+* (C) 1999-2007 Jack Lloyd *
+*************************************************/
+
+#ifndef BOTAN_EXT_TIMER_UNIX_H__
+#define BOTAN_EXT_TIMER_UNIX_H__
+
+#include <botan/timers.h>
+
+namespace Botan {
+
+/*************************************************
+* Unix Timer *
+*************************************************/
+class Unix_Timer : public Timer
+ {
+ public:
+ u64bit clock() const;
+ };
+
+}
+
+#endif