Tons more refactoring: simplify Network, move explicit management of Tap out, redo COM serialization, etc.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user