diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-10-13 12:31:38 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-10-13 12:31:38 -0700 |
commit | 70d8e3ad94076c51b05b4165cbd68a91806dbde7 (patch) | |
tree | cb26e58c902150621464c78b9130fd892f8ecdee /include | |
parent | 71348f3ebbc84fe31d15bb0aa0f6b2b6e158cf28 (diff) | |
download | infinitytier-70d8e3ad94076c51b05b4165cbd68a91806dbde7.tar.gz infinitytier-70d8e3ad94076c51b05b4165cbd68a91806dbde7.zip |
Expose world ID and world timestamp in ZT_NodeStatus
Diffstat (limited to 'include')
-rw-r--r-- | include/ZeroTierOne.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/ZeroTierOne.h b/include/ZeroTierOne.h index 38db3222..42c904eb 100644 --- a/include/ZeroTierOne.h +++ b/include/ZeroTierOne.h @@ -276,6 +276,16 @@ typedef struct uint64_t address; /** + * Current world ID + */ + uint64_t worldId; + + /** + * Current world revision/timestamp + */ + uint64_t worldTimestamp; + + /** * Public identity in string-serialized form (safe to send to others) * * This pointer will remain valid as long as the node exists. |