summaryrefslogtreecommitdiff
path: root/node/Node.hpp
diff options
context:
space:
mode:
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
*