Below is the file 'modules/es_egd/es_egd.h' from this revision. You can also download the file.

/*************************************************
* EGD EntropySource Header File                  *
* (C) 1999-2007 Jack Lloyd                       *
*************************************************/

#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::vector<std::string>& p) : paths(p) {}
   private:
      u32bit do_poll(byte[], u32bit, const std::string&) const;
      const std::vector<std::string> paths;
   };

}

#endif