panthema / 2009 / cryptote / cryptote-0.5.390 / libenctain / botan-1.6 / include / es_egd.h (Download File)
/*************************************************
* EGD EntropySource Header File                  *
* (C) 1999-2007 The Botan Project                *
*************************************************/

#ifndef BOTAN_EXT_ENTROPY_SRC_EGD_H__
#define BOTAN_EXT_ENTROPY_SRC_EGD_H__

#include "botan-1.6/include/base.h"
#include <string>
#include <vector>

namespace Enctain {
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