CppCMS
urandom.h
1 //
3 // Copyright (C) 2008-2012 Artyom Beilis (Tonkikh) <artyomtnk@yahoo.com>
4 //
5 // See accompanying file COPYING.TXT file for licensing details.
6 //
8 #ifndef CPPCMS_URANDOM_H
9 #define CPPCMS_URANDOM_H
10 
11 #include <cppcms/defs.h>
12 #include <booster/hold_ptr.h>
13 #include <booster/noncopyable.h>
14 
15 namespace cppcms {
16 
23  class CPPCMS_API urandom_device : public booster::noncopyable {
24  public:
25 
30 
34  ~urandom_device();
35 
39  void generate(void *ptr,unsigned n);
40 
41  private:
42  struct _data;
44 
45 
46  };
47 }
48 
49 
50 #endif
High entropy random number generator.
Definition: urandom.h:23
This is the namespace where all CppCMS functionality is placed.
Definition: application.h:19
This class makes impossible to copy any class derived from this one.
Definition: noncopyable.h:15