Re-integrate in-filesystem DB into new controller DB structure.
This commit is contained in:
parent
7fc9094d8e
commit
1613f42d00
11 changed files with 654 additions and 362 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue