Integrate moon concept into http config bus, and clean up that code quite a bit.

This commit is contained in:
Adam Ierymenko 2017-02-13 14:27:08 -08:00
parent c95bae2d73
commit 4b11566505
7 changed files with 265 additions and 360 deletions

View file

@ -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
*