summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-04-08 16:07:47 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-04-08 16:07:47 -0700
commit9d9d0ef12ccb60bda417c6bfed576ae87380e7e4 (patch)
treefa2f7c7f4f538f5d55d641c564b81d51842b9191 /include
parentc894710ac1ede8e7465a4c49df37c78c9386e830 (diff)
downloadinfinitytier-9d9d0ef12ccb60bda417c6bfed576ae87380e7e4.tar.gz
infinitytier-9d9d0ef12ccb60bda417c6bfed576ae87380e7e4.zip
Rename StatusCallback to more descriptive EventCallback.
Diffstat (limited to 'include')
-rw-r--r--include/ZeroTierOne.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ZeroTierOne.h b/include/ZeroTierOne.h
index 1ed89124..de3c8eda 100644
--- a/include/ZeroTierOne.h
+++ b/include/ZeroTierOne.h
@@ -607,7 +607,7 @@ typedef int (*ZT1_VirtualNetworkConfigFunction)(ZT1_Node *,uint64_t,enum ZT1_Vir
*
* This is called whenever the node's status changes in some significant way.
*/
-typedef void (*ZT1_StatusCallback)(ZT1_Node *,enum ZT1_Event);
+typedef void (*ZT1_EventCallback)(ZT1_Node *,enum ZT1_Event);
/**
* Function to get an object from the data store
@@ -683,7 +683,7 @@ typedef void (*ZT1_VirtualNetworkFrameFunction)(ZT1_Node *,uint64_t,uint64_t,uin
* @param dataStoreGetFunction Function called to get objects from persistent storage
* @param dataStorePutFunction Function called to put objects in persistent storage
* @param virtualNetworkConfigFunction Function to be called when virtual LANs are created, deleted, or their config parameters change
- * @param statusCallback Function to receive status updates and non-fatal error notices
+ * @param eventCallback Function to receive status updates and non-fatal error notices
* @param overrideRootTopology If not NULL, must contain string-serialize root topology (for testing, default: NULL)
* @return OK (0) or error code if a fatal error condition has occurred
*/
@@ -695,7 +695,7 @@ enum ZT1_ResultCode ZT1_Node_new(
ZT1_WirePacketSendFunction wirePacketSendFunction,
ZT1_VirtualNetworkFrameFunction virtualNetworkFrameFunction,
ZT1_VirtualNetworkConfigFunction virtualNetworkConfigFunction,
- ZT1_StatusCallback statusCallback,
+ ZT1_EventCallback eventCallback,
const char *overrideRootTopology = (const char *)0);
/**