summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGrant Limberg <glimberg@gmail.com>2015-10-07 18:04:40 -0700
committerGrant Limberg <glimberg@gmail.com>2015-10-07 18:04:40 -0700
commit9347d6c866f6cae357448762f064a481fb765c00 (patch)
treedd9631edcaf830b46706b8001b2334cfba72cb9d /include
parentfea1b6b2c3d004ad53c5997800229c070ccee79b (diff)
downloadinfinitytier-9347d6c866f6cae357448762f064a481fb765c00.tar.gz
infinitytier-9347d6c866f6cae357448762f064a481fb765c00.zip
Make it so ZeroTierOne.h can be used with a C compiler again.
Diffstat (limited to 'include')
-rw-r--r--include/ZeroTierOne.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ZeroTierOne.h b/include/ZeroTierOne.h
index 990f682d..175cedc5 100644
--- a/include/ZeroTierOne.h
+++ b/include/ZeroTierOne.h
@@ -1255,7 +1255,7 @@ void ZT_Node_freeQueryResult(ZT_Node *node,void *qr);
* @param trust How much do you trust the local network under this interface?
* @return Boolean: non-zero if address was accepted and added
*/
-int ZT_Node_addLocalInterfaceAddress(ZT_Node *node,const struct sockaddr_storage *addr,int metric,ZT_LocalInterfaceAddressTrust trust);
+int ZT_Node_addLocalInterfaceAddress(ZT_Node *node,const struct sockaddr_storage *addr,int metric, enum ZT_LocalInterfaceAddressTrust trust);
/**
* Clear local interface addresses
@@ -1296,7 +1296,7 @@ void ZT_Node_setNetconfMaster(ZT_Node *node,void *networkConfigMasterInstance);
* @param reportCallback Function to call each time a report is received
* @return OK or error if, for example, test is too big for a packet or support isn't compiled in
*/
-ZT_ResultCode ZT_Node_circuitTestBegin(ZT_Node *node,ZT_CircuitTest *test,void (*reportCallback)(ZT_Node *,ZT_CircuitTest *,const ZT_CircuitTestReport *));
+enum ZT_ResultCode ZT_Node_circuitTestBegin(ZT_Node *node,ZT_CircuitTest *test,void (*reportCallback)(ZT_Node *, ZT_CircuitTest *,const ZT_CircuitTestReport *));
/**
* Stop listening for results to a given circuit test