25 changed files with 371 additions and 199 deletions
@ -1,7 +0,0 @@
|
||||
Apple + ZeroTier SDK |
||||
==== |
||||
|
||||
Welcome! |
||||
|
||||
*** |
||||
## Platform-specific Integrations |
||||
@ -1,18 +0,0 @@
|
||||
Apple |
||||
* Create shared/dynamic targets for OSX |
||||
|
||||
General |
||||
* Trim down makefiles |
||||
* Add release targets to each xcode/android studio project |
||||
|
||||
Unity |
||||
* check for mem leaks surrounding managed/unmanaged barrier |
||||
* find root of 2X buffer size requirement issue |
||||
* check that cross-thread oprations are handled correctly |
||||
* check that .IsRunning() doesn't bork the entire system anymore |
||||
* Allow max packet size configuration |
||||
* Handle exceptions from unmanaged code |
||||
|
||||
Documentation |
||||
* Refactor |
||||
* Fix broken references |
||||
@ -0,0 +1,30 @@
|
||||
{ |
||||
"DVTSourceControlWorkspaceBlueprintPrimaryRemoteRepositoryKey" : "E606611F311EBBA46CDC9112D11FA5B7A3480FA9", |
||||
"DVTSourceControlWorkspaceBlueprintWorkingCopyRepositoryLocationsKey" : { |
||||
|
||||
}, |
||||
"DVTSourceControlWorkspaceBlueprintWorkingCopyStatesKey" : { |
||||
"ABA3617E9F0148F844A82502F0D808DE6591AA97" : 0, |
||||
"E606611F311EBBA46CDC9112D11FA5B7A3480FA9" : 0 |
||||
}, |
||||
"DVTSourceControlWorkspaceBlueprintIdentifierKey" : "0231F1D2-335A-48B9-9ED2-F5EC32297E1C", |
||||
"DVTSourceControlWorkspaceBlueprintWorkingCopyPathsKey" : { |
||||
"ABA3617E9F0148F844A82502F0D808DE6591AA97" : "zerotiersdk\/zerotierone\/", |
||||
"E606611F311EBBA46CDC9112D11FA5B7A3480FA9" : "zerotiersdk\/" |
||||
}, |
||||
"DVTSourceControlWorkspaceBlueprintNameKey" : "ZeroTierSDK_Apple", |
||||
"DVTSourceControlWorkspaceBlueprintVersion" : 204, |
||||
"DVTSourceControlWorkspaceBlueprintRelativePathToProjectKey" : "integrations\/apple\/ZeroTierSDK_Apple\/ZeroTierSDK_Apple.xcodeproj", |
||||
"DVTSourceControlWorkspaceBlueprintRemoteRepositoriesKey" : [ |
||||
{ |
||||
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "http:\/\/git.int.zerotier.com\/ZeroTier\/ZeroTierOne.git", |
||||
"DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git", |
||||
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "ABA3617E9F0148F844A82502F0D808DE6591AA97" |
||||
}, |
||||
{ |
||||
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "http:\/\/git.int.zerotier.com\/zerotier\/zerotiersdk.git", |
||||
"DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git", |
||||
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "E606611F311EBBA46CDC9112D11FA5B7A3480FA9" |
||||
} |
||||
] |
||||
} |
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,37 @@
|
||||
//
|
||||
// Use this file to import your target's public headers that you would like to expose to Swift.
|
||||
//
|
||||
|
||||
#ifndef Example_OSX_Bridging_Header_h |
||||
#define Example_OSX_Bridging_Header_h |
||||
|
||||
int start_intercept(); |
||||
void start_service(const char * path); |
||||
void join_network(const char * nwid); |
||||
void disable_intercept(); |
||||
void enable_intercept(); |
||||
|
||||
#include <sys/socket.h> |
||||
#include "SDK_Signatures.h" |
||||
|
||||
void zt_join_network(const char *nwid); |
||||
void zt_leave_network(const char *nwid); |
||||
|
||||
// Direct Call ZT API
|
||||
// These functions will provide direct access to ZT-enabled sockets with no hassle
|
||||
int zts_init_rpc(const char *path, const char *nwid); |
||||
int zts_connect(CONNECT_SIG); |
||||
int zts_bind(BIND_SIG); |
||||
int zts_accept(ACCEPT_SIG); |
||||
int zts_listen(LISTEN_SIG); |
||||
int zts_socket(SOCKET_SIG); |
||||
int zts_setsockopt(SETSOCKOPT_SIG); |
||||
int zts_getsockopt(GETSOCKOPT_SIG); |
||||
int zts_close(CLOSE_SIG); |
||||
int zts_getsockname(GETSOCKNAME_SIG); |
||||
|
||||
|
||||
#endif /* Example_OSX_Bridging_Header_h */ |
||||
|
||||
|
||||
|
||||
Loading…
Reference in new issue