summaryrefslogtreecommitdiff
path: root/src/Sockets.cpp
diff options
context:
space:
mode:
authorJoseph Henry <[email protected]>2020-05-30 18:29:04 -0700
committerJoseph Henry <[email protected]>2020-05-30 18:29:04 -0700
commit37c01e18cf0a3aa8562e1f83fe6bf4d4d5aabb7a (patch)
treed2fb32350f77600603b4633e9cc4c0e4c45768ba /src/Sockets.cpp
parent2ae7ebb0fe93b2679d1a43af7b76cab2f61c7c90 (diff)
Change event code numbering scheme, fix Windows startup bug, fix zts_free(), remove vestigial API functions, update documentation
Diffstat (limited to 'src/Sockets.cpp')
-rw-r--r--src/Sockets.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/Sockets.cpp b/src/Sockets.cpp
index 3366209..4ce7cdb 100644
--- a/src/Sockets.cpp
+++ b/src/Sockets.cpp
@@ -23,7 +23,13 @@
#include "lwip/stats.h"
#include "ZeroTierSockets.h"
-#include "Events.hpp"
+//#include "Events.hpp"
+
+#define ZTS_STATE_NODE_RUNNING 0x01
+#define ZTS_STATE_STACK_RUNNING 0x02
+#define ZTS_STATE_NET_SERVICE_RUNNING 0x04
+#define ZTS_STATE_CALLBACKS_RUNNING 0x08
+#define ZTS_STATE_FREE_CALLED 0x10
#ifdef SDK_JNI
#include <jni.h>