/*************************************************
* EGD EntropySource Header File                  *
* (C) 1999-2004 The Botan Project                *
*************************************************/

#include <botan/base.h>
#include <string>
#include <vector>

#ifndef BOTAN_EXT_ENTROPY_SRC_EGD_H__
#define BOTAN_EXT_ENTROPY_SRC_EGD_H__

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
