summaryrefslogtreecommitdiff
path: root/src/SDK_XcodeWrapper.cpp
diff options
context:
space:
mode:
authorJoseph Henry <[email protected]>2016-08-17 10:22:31 -0700
committerJoseph Henry <[email protected]>2016-08-17 10:22:31 -0700
commit15985ebcd6e930ca90391a14444573d555010f60 (patch)
treefc88383d4b8ecfc8795e5fa407007bdf47c65aac /src/SDK_XcodeWrapper.cpp
parentca55570e248a82098382806dece8d249f22b655c (diff)
Exposed stop_service() to java-land
Diffstat (limited to 'src/SDK_XcodeWrapper.cpp')
-rwxr-xr-xsrc/SDK_XcodeWrapper.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/SDK_XcodeWrapper.cpp b/src/SDK_XcodeWrapper.cpp
index df28161..a8767f3 100755
--- a/src/SDK_XcodeWrapper.cpp
+++ b/src/SDK_XcodeWrapper.cpp
@@ -39,6 +39,10 @@ extern "C" void start_service(const char * path) {
init_service(INTERCEPT_DISABLED, path);
}
+extern "C" void stop_service() {
+ zts_stop_service();
+}
+
// Starts a ZeroTier service at the specified path and initializes the RPC mechanism
// This will allow direct API calls
extern "C" void start_service_and_rpc(const char * path, const char * nwid) {