aboutsummaryrefslogtreecommitdiffstats
path: root/modules/es_egd/es_egd.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-05-18 18:33:19 +0000
committerlloyd <[email protected]>2006-05-18 18:33:19 +0000
commita2c99d3270eb73ef2db5704fc54356c6b75096f8 (patch)
treead3d6c4fcc8dd0f403f8105598943616246fe172 /modules/es_egd/es_egd.h
Initial checkin1.5.6
Diffstat (limited to 'modules/es_egd/es_egd.h')
-rw-r--r--modules/es_egd/es_egd.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/modules/es_egd/es_egd.h b/modules/es_egd/es_egd.h
new file mode 100644
index 000000000..3af50ef35
--- /dev/null
+++ b/modules/es_egd/es_egd.h
@@ -0,0 +1,30 @@
+/*************************************************
+* EGD EntropySource Header File *
+* (C) 1999-2006 The Botan Project *
+*************************************************/
+
+#ifndef BOTAN_EXT_ENTROPY_SRC_EGD_H__
+#define BOTAN_EXT_ENTROPY_SRC_EGD_H__
+
+#include <botan/base.h>
+#include <string>
+#include <vector>
+
+namespace Botan {
+
+/*************************************************
+* EGD Entropy Source *
+*************************************************/
+class EGD_EntropySource : public EntropySource
+ {
+ public:
+ u32bit slow_poll(byte[], u32bit);
+ EGD_EntropySource(const std::string& = "");
+ private:
+ u32bit do_poll(byte[], u32bit, const std::string&) const;
+ std::vector<std::string> paths;
+ };
+
+}
+
+#endif