diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-11-18 13:48:49 -0800 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-11-18 13:48:49 -0800 |
| commit | 673c0c811ea443c217b3a4ca17eeaed3ab596501 (patch) | |
| tree | 895d71285505546a1dffedb9ca37c32a491535eb /node/Node.hpp | |
| parent | 6e1da35c121c9a01ee4a487462660a5d7d3503a2 (diff) | |
| download | infinitytier-673c0c811ea443c217b3a4ca17eeaed3ab596501.tar.gz infinitytier-673c0c811ea443c217b3a4ca17eeaed3ab596501.zip | |
Wire through upstream stuff and add setRole().
Diffstat (limited to 'node/Node.hpp')
| -rw-r--r-- | node/Node.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/node/Node.hpp b/node/Node.hpp index ba657691..38303f8c 100644 --- a/node/Node.hpp +++ b/node/Node.hpp @@ -105,6 +105,7 @@ public: void freeQueryResult(void *qr); int addLocalInterfaceAddress(const struct sockaddr_storage *addr); void clearLocalInterfaceAddresses(); + void setRole(uint64_t ztAddress,ZT_PeerRole role); void setNetconfMaster(void *networkControllerInstance); ZT_ResultCode circuitTestBegin(ZT_CircuitTest *test,void (*reportCallback)(ZT_Node *,ZT_CircuitTest *,const ZT_CircuitTestReport *)); void circuitTestEnd(ZT_CircuitTest *test); |
