diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-10-06 15:56:18 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-10-06 15:56:18 -0700 |
| commit | 7394ec6f6ab38c48e84edf3bf2fdb46e6966fa35 (patch) | |
| tree | fe93e7aab1ccfffaa9299452b2b395b4e1723367 /controller/SqliteNetworkController.hpp | |
| parent | 3593fb3462f277cca9241563ac0b97ade1582c91 (diff) | |
| download | infinitytier-7394ec6f6ab38c48e84edf3bf2fdb46e6966fa35.tar.gz infinitytier-7394ec6f6ab38c48e84edf3bf2fdb46e6966fa35.zip | |
Prep in controller code to run tests.
Diffstat (limited to 'controller/SqliteNetworkController.hpp')
| -rw-r--r-- | controller/SqliteNetworkController.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/controller/SqliteNetworkController.hpp b/controller/SqliteNetworkController.hpp index f0b61c40..68529e39 100644 --- a/controller/SqliteNetworkController.hpp +++ b/controller/SqliteNetworkController.hpp @@ -45,10 +45,12 @@ namespace ZeroTier { +class Node; + class SqliteNetworkController : public NetworkController { public: - SqliteNetworkController(const char *dbPath); + SqliteNetworkController(Node *node,const char *dbPath,const char *circuitTestPath); virtual ~SqliteNetworkController(); virtual NetworkController::ResultCode doNetworkConfigRequest( @@ -104,7 +106,9 @@ private: const Dictionary &metaData, Dictionary &netconf); + Node *_node; std::string _dbPath; + std::string _circuitTestPath; std::string _instanceId; // A circular buffer last log |
