Re-integrate in-filesystem DB into new controller DB structure.

This commit is contained in:
Adam Ierymenko 2017-11-07 14:44:46 -08:00
parent 7fc9094d8e
commit 1613f42d00
11 changed files with 654 additions and 362 deletions

View file

@ -45,13 +45,18 @@
#ifdef ZT_CONTROLLER_USE_RETHINKDB
#include "RethinkDB.hpp"
#else
#include "FileDB.hpp"
#endif
namespace ZeroTier {
#ifdef ZT_CONTROLLER_USE_RETHINKDB
typedef RethinkDB ControllerDB;
#else
typedef FileDB ControllerDB;
#endif
class Node;
class EmbeddedNetworkController : public NetworkController