summaryrefslogtreecommitdiff
path: root/node/Node.hpp
diff options
context:
space:
mode:
authorGrant Limberg <glimberg@gmail.com>2015-10-21 17:35:38 -0700
committerGrant Limberg <glimberg@gmail.com>2015-10-21 17:35:38 -0700
commit6471c1f4e26c0230b40bf0102a52493aa78236b9 (patch)
treeb8791931f4d4f6becbbab794f2a0d95d9363054d /node/Node.hpp
parent21ae423feb0e63cdbdd47be921e257c1d59de27a (diff)
parenta46514b397acdf42451d41398ef77eec60744256 (diff)
downloadinfinitytier-6471c1f4e26c0230b40bf0102a52493aa78236b9.tar.gz
infinitytier-6471c1f4e26c0230b40bf0102a52493aa78236b9.zip
Merge branch 'adamierymenko-dev' into windows-ui
Diffstat (limited to 'node/Node.hpp')
-rw-r--r--node/Node.hpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/node/Node.hpp b/node/Node.hpp
index c7038ed4..b8bd4dc5 100644
--- a/node/Node.hpp
+++ b/node/Node.hpp
@@ -110,6 +110,20 @@ public:
void setNetconfMaster(void *networkControllerInstance);
ZT_ResultCode circuitTestBegin(ZT_CircuitTest *test,void (*reportCallback)(ZT_Node *,ZT_CircuitTest *,const ZT_CircuitTestReport *));
void circuitTestEnd(ZT_CircuitTest *test);
+ ZT_ResultCode clusterInit(
+ unsigned int myId,
+ const struct sockaddr_storage *zeroTierPhysicalEndpoints,
+ unsigned int numZeroTierPhysicalEndpoints,
+ int x,
+ int y,
+ int z,
+ void (*sendFunction)(void *,unsigned int,const void *,unsigned int),
+ void *sendFunctionArg,
+ int (*addressToLocationFunction)(void *,const struct sockaddr_storage *,int *,int *,int *),
+ void *addressToLocationFunctionArg);
+ ZT_ResultCode clusterAddMember(unsigned int memberId);
+ void clusterRemoveMember(unsigned int memberId);
+ void clusterHandleIncomingMessage(const void *msg,unsigned int len);
// Internal functions ------------------------------------------------------