aboutsummaryrefslogtreecommitdiffstats
path: root/include/timers.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-04-13 20:28:02 +0000
committerlloyd <[email protected]>2008-04-13 20:28:02 +0000
commit2ca8f36e3b41b751a9febcd0aa741ab532b7eb33 (patch)
treed301232342b2c88d7c2858ee8470f977fda07f4d /include/timers.h
parent95185d453f774b8eb7344b2906d73f8eb1ed87d2 (diff)
parente9590a1054722891b7d99a42fe2c81a5911e6c75 (diff)
propagate from branch 'net.randombit.botan' (head 4b88c5d653d997e87cc333064ca1624636fc2186)
to branch 'net.randombit.botan.remove-libstate' (head 58c8bf4a26a93475d86418d899d7f7202263d4ae)
Diffstat (limited to 'include/timers.h')
-rw-r--r--include/timers.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/timers.h b/include/timers.h
index c4213de5b..abceda449 100644
--- a/include/timers.h
+++ b/include/timers.h
@@ -6,17 +6,19 @@
#ifndef BOTAN_TIMERS_H__
#define BOTAN_TIMERS_H__
-#include <botan/types.h>
+#include <botan/base.h>
namespace Botan {
/*************************************************
* Timer Interface *
*************************************************/
-class Timer
+class Timer : public EntropySource
{
public:
virtual u64bit clock() const;
+ u32bit slow_poll(byte[], u32bit);
+
virtual ~Timer() {}
protected:
static u64bit combine_timers(u32bit, u32bit, u32bit);