From 1f28ce398078eff39081ef25e7c1e234dd6f8fc2 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Wed, 1 Apr 2015 19:09:18 -0700 Subject: Tons more refactoring: simplify Network, move explicit management of Tap out, redo COM serialization, etc. --- node/Node.hpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'node/Node.hpp') 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() : 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; -- cgit v1.2.3