move utility functions from anon namespace to ZT1_jniutils

Signed-off-by: Grant Limberg <glimberg@gmail.com>
This commit is contained in:
Grant Limberg
2015-04-23 21:39:07 -07:00
parent 4906f8e848
commit 46adf870a1
3 changed files with 184 additions and 155 deletions

View File

@ -7,6 +7,10 @@
extern "C" {
#endif
jobject createResultObject(JNIEnv *env, ZT1_ResultCode code);
jobject createVirtualNetworkStatus(JNIEnv *env, ZT1_VirtualNetworkStatus status);
jobject createEvent(JNIEnv *env, ZT1_Event event);
jobject newArrayList(JNIEnv *env);
jobject appendItemToArrayList(JNIEnv *env, jobject object);