summaryrefslogtreecommitdiff
path: root/include/ZeroTierOne.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ZeroTierOne.h')
-rw-r--r--include/ZeroTierOne.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/ZeroTierOne.h b/include/ZeroTierOne.h
index 2a00f542..2474a3a0 100644
--- a/include/ZeroTierOne.h
+++ b/include/ZeroTierOne.h
@@ -204,6 +204,15 @@ struct ZT1_Node_Peer
unsigned int latency;
/**
+ * What trust hierarchy role does this device have?
+ */
+ enum {
+ ZT1_Node_Peer_SUPERNODE = 0, // planetary supernode
+ ZT1_Node_Peer_HUB = 1, // locally federated hub (coming soon)
+ ZT1_Node_Peer_NODE = 2 // ordinary node
+ } role;
+
+ /**
* Array of network paths to peer
*/
struct ZT1_Node_PhysicalPath *paths;