diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-07-12 08:29:50 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-07-12 08:29:50 -0700 |
| commit | 765082fdb68d8847cbd53cb442cbed5006b28d5f (patch) | |
| tree | 88a6de909ef66218422ead9e69ad0ef7dc7a53e4 /node/Node.hpp | |
| parent | aff62e9e10c164c005f7b4f9bc78b50c2c6fcca1 (diff) | |
| download | infinitytier-765082fdb68d8847cbd53cb442cbed5006b28d5f.tar.gz infinitytier-765082fdb68d8847cbd53cb442cbed5006b28d5f.zip | |
Trusted path support, and version bump to 1.1.9
Diffstat (limited to 'node/Node.hpp')
| -rw-r--r-- | node/Node.hpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/node/Node.hpp b/node/Node.hpp index 6ac23ca0..0a39d1ee 100644 --- a/node/Node.hpp +++ b/node/Node.hpp @@ -248,26 +248,15 @@ public: */ inline int configureVirtualNetworkPort(uint64_t nwid,void **nuptr,ZT_VirtualNetworkConfigOperation op,const ZT_VirtualNetworkConfig *nc) { return _virtualNetworkConfigFunction(reinterpret_cast<ZT_Node *>(this),_uPtr,nwid,nuptr,op,nc); } - /** - * @return True if we appear to be online - */ inline bool online() const throw() { return _online; } #ifdef ZT_TRACE void postTrace(const char *module,unsigned int line,const char *fmt,...); #endif - /** - * @return Next 64-bit random number (not for cryptographic use) - */ uint64_t prng(); - - /** - * Post a circuit test report to any listeners for a given test ID - * - * @param report Report (includes test ID) - */ void postCircuitTestReport(const ZT_CircuitTestReport *report); + void setTrustedPaths(const struct sockaddr_storage *networks,const uint64_t *ids,unsigned int count); private: inline SharedPtr<Network> _network(uint64_t nwid) const |
