diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-07-13 14:28:26 -0400 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-07-13 14:28:26 -0400 |
| commit | 97cbd98bc5bb99bd1363ba1ae87074afcef926a4 (patch) | |
| tree | 47471b826ca4880f831c200f614e5c87f6ee8c1e /node/RuntimeEnvironment.hpp | |
| parent | 3e49337d9a773a5d805a908bc093b5d72985d8d9 (diff) | |
| download | infinitytier-97cbd98bc5bb99bd1363ba1ae87074afcef926a4.tar.gz infinitytier-97cbd98bc5bb99bd1363ba1ae87074afcef926a4.zip | |
Compile fixes, integration of fast PRNG.
Diffstat (limited to 'node/RuntimeEnvironment.hpp')
| -rw-r--r-- | node/RuntimeEnvironment.hpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/node/RuntimeEnvironment.hpp b/node/RuntimeEnvironment.hpp index b39a584f..5f76c8ac 100644 --- a/node/RuntimeEnvironment.hpp +++ b/node/RuntimeEnvironment.hpp @@ -31,7 +31,6 @@ #include <string> #include "Identity.hpp" #include "Condition.hpp" -#include "CMWC4096.hpp" namespace ZeroTier { @@ -42,6 +41,7 @@ class Switch; class Topology; class SysEnv; class Multicaster; +class CMWC4096; /** * Holds global state for an instance of ZeroTier::Node @@ -61,6 +61,7 @@ public: RuntimeEnvironment() : identity(), log((Logger *)0), + prng((CMWC4096 *)0), nc((NodeConfig *)0), demarc((Demarc *)0), multicaster((Multicaster *)0), @@ -78,13 +79,11 @@ public: // signal() to prematurely interrupt main loop wait Condition mainLoopWaitCondition; - // non-cryptographic fast PRNG - CMWC4096 prng; - Identity configAuthority; Identity identity; Logger *log; // may be null + CMWC4096 *prng; NodeConfig *nc; Demarc *demarc; Multicaster *multicaster; |
