mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-20 21:33:57 -07:00
More plumbing of cluster status.
This commit is contained in:
parent
865acfa40f
commit
5ff7733f84
3 changed files with 31 additions and 29 deletions
|
@ -1516,6 +1516,17 @@ void ZT_Node_clusterRemoveMember(ZT_Node *node,unsigned int memberId);
|
|||
*/
|
||||
void ZT_Node_clusterHandleIncomingMessage(ZT_Node *node,const void *msg,unsigned int len);
|
||||
|
||||
/**
|
||||
* Get the current status of the cluster from this node's point of view
|
||||
*
|
||||
* Calling this without clusterInit() or without cluster support will just
|
||||
* zero out the structure and show a cluster size of zero.
|
||||
*
|
||||
* @param node Node instance
|
||||
* @param cs Cluster status structure to fill with data
|
||||
*/
|
||||
void ZT_Node_clusterStatus(ZT_Node *node,ZT_ClusterStatus *cs);
|
||||
|
||||
/**
|
||||
* Get ZeroTier One version
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue