summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ZeroTierOne.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/include/ZeroTierOne.h b/include/ZeroTierOne.h
index 4fa45780..870255f1 100644
--- a/include/ZeroTierOne.h
+++ b/include/ZeroTierOne.h
@@ -328,7 +328,12 @@ enum ZT1_VirtualNetworkStatus
/**
* Initialization of network failed or other internal error
*/
- ZT1_NETWORK_STATUS_PORT_ERROR = 4
+ ZT1_NETWORK_STATUS_PORT_ERROR = 4,
+
+ /**
+ * ZeroTier One version too old
+ */
+ ZT1_NETWORK_STATUS_CLIENT_TOO_OLD = 5
};
/**
@@ -854,6 +859,14 @@ enum ZT1_ResultCode ZT1_Node_multicastSubscribe(ZT1_Node *node,uint64_t nwid,uin
enum ZT1_ResultCode ZT1_Node_multicastUnsubscribe(ZT1_Node *node,uint64_t nwid,uint64_t multicastGroup,unsigned long multicastAdi = 0);
/**
+ * Get this node's 40-bit ZeroTier address
+ *
+ * @param node Node instance
+ * @return ZeroTier address (least significant 40 bits of 64-bit int)
+ */
+uint64_t ZT1_Node_address(ZT1_Node *node);
+
+/**
* Get the status of this node
*
* @param node Node instance