diff options
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; |
