From 4906f8e848cca9bf847858d91f0b7bf2d89d0266 Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Thu, 23 Apr 2015 21:36:33 -0700 Subject: added stub utility functions for creating ArrayLists, appending items to ArrayLists, creating InetAddress objects, and MulticastGroup objects Signed-off-by: Grant Limberg --- java/jni/ZT1_jniutils.cpp | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 java/jni/ZT1_jniutils.cpp (limited to 'java/jni/ZT1_jniutils.cpp') diff --git a/java/jni/ZT1_jniutils.cpp b/java/jni/ZT1_jniutils.cpp new file mode 100644 index 00000000..aae73326 --- /dev/null +++ b/java/jni/ZT1_jniutils.cpp @@ -0,0 +1,35 @@ +#include "ZT1_jniutils.h" + +#ifdef __cplusplus +extern "C" { +#endif + + +jobject newArrayList(JNIEnv *env) +{ + return NULL; +} + +jobject appendItemToArrayList(JNIEnv *env, jobject object) +{ + return NULL; +} + +jobject newIPV6Address(JNIEnv *env, char *addr) +{ + return NULL; +} + +jobject newIPV4Address(JNIEnv *env, char *addr) +{ + return NULL; +} + +jobject newMulticastGroup(JNIEnv *env, const ZT1_MulticastGroup &mc) +{ + return NULL; +} + +#ifdef __cplusplus +} +#endif \ No newline at end of file -- cgit v1.2.3