From 38200cc6a55c3b11502a78251c2bdf09960a2a03 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 9 Apr 2015 19:58:04 -0700 Subject: Add data store functions to service/One, and shelve old main.cpp since it will get rebuilt. --- include/ZeroTierOne.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/ZeroTierOne.h b/include/ZeroTierOne.h index e800292a..5441b180 100644 --- a/include/ZeroTierOne.h +++ b/include/ZeroTierOne.h @@ -659,8 +659,8 @@ typedef long (*ZT1_DataStoreGetFunction)(ZT1_Node *,void *,const char *,void *,u * success. You can return any OS-specific error code on failure, as these * may be visible in logs or error messages and might aid in debugging. * - * A call to write 0 bytes with a null data pointer should be interpreted - * as a delete operation. The secure flag is not meaningful in this case. + * If the data pointer is null, this must be interpreted as a delete + * operation. */ typedef int (*ZT1_DataStorePutFunction)(ZT1_Node *,void *,const char *,const void *,unsigned long,int); -- cgit v1.2.3