diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-04-01 19:09:18 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-04-01 19:09:18 -0700 |
| commit | 1f28ce398078eff39081ef25e7c1e234dd6f8fc2 (patch) | |
| tree | 993a595474612d930a28a7a3d5b1a6675748db2d /node/Node.hpp | |
| parent | 49349470a059a54177b0831ea256492d9b30712f (diff) | |
| download | infinitytier-1f28ce398078eff39081ef25e7c1e234dd6f8fc2.tar.gz infinitytier-1f28ce398078eff39081ef25e7c1e234dd6f8fc2.zip | |
Tons more refactoring: simplify Network, move explicit management of Tap out, redo COM serialization, etc.
Diffstat (limited to 'node/Node.hpp')
| -rw-r--r-- | node/Node.hpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/node/Node.hpp b/node/Node.hpp index e376648a..461b9e9a 100644 --- a/node/Node.hpp +++ b/node/Node.hpp @@ -56,6 +56,7 @@ class Node { public: Node( + uint64_t now, ZT1_DataStoreGetFunction *dataStoreGetFunction, ZT1_DataStorePutFunction *dataStorePutFunction, ZT1_WirePacketSendFunction *wirePacketSendFunction, @@ -185,6 +186,19 @@ public: return ((nw == _networks.end()) ? SharedPtr<Network>() : nw->second); } + inline bool dataStorePut(const char *name,const void *data,unsigned int len,bool secure) + { + } + inline bool dataStorePut(const char *name,const std::string &data,bool secure) { return dataStorePut(name,(const void *)data.data(),(unsigned int)data.length(),secure); } + + inline std::string dataStoreGet(const char *name) + { + } + + inline void dataStoreDelete(const char *name) + { + } + private: RuntimeEnvironment *RR; |
