summaryrefslogtreecommitdiff
path: root/node/Node.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-02-13 14:27:08 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-02-13 14:27:08 -0800
commit4b115665057a334c08e427e0f34a4e3a48514ea1 (patch)
tree7abbc2a4ba05ccdd57a920f5f5e8a43683e4ac44 /node/Node.hpp
parentc95bae2d7389fdaff84e6c518f7f0ebbd1b46230 (diff)
downloadinfinitytier-4b115665057a334c08e427e0f34a4e3a48514ea1.tar.gz
infinitytier-4b115665057a334c08e427e0f34a4e3a48514ea1.zip
Integrate moon concept into http config bus, and clean up that code quite a bit.
Diffstat (limited to 'node/Node.hpp')
-rw-r--r--node/Node.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/node/Node.hpp b/node/Node.hpp
index d83ce968..a1d4b719 100644
--- a/node/Node.hpp
+++ b/node/Node.hpp
@@ -24,6 +24,7 @@
#include <string.h>
#include <map>
+#include <vector>
#include "Constants.hpp"
@@ -54,6 +55,8 @@
namespace ZeroTier {
+class World;
+
/**
* Implementation of Node object as defined in CAPI
*
@@ -210,6 +213,9 @@ public:
void postCircuitTestReport(const ZT_CircuitTestReport *report);
void setTrustedPaths(const struct sockaddr_storage *networks,const uint64_t *ids,unsigned int count);
+ World planet() const;
+ std::vector<World> moons() const;
+
/**
* Register that we are expecting a reply to a packet ID
*