mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-16 10:03:14 -07:00
21 lines
No EOL
431 B
C
21 lines
No EOL
431 B
C
#ifndef ZT1_jniutils_h_
|
|
#define ZT1_jniutils_h_
|
|
#include <jni.h>
|
|
#include <ZeroTierOne.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
jobject newArrayList(JNIEnv *env);
|
|
jobject appendItemToArrayList(JNIEnv *env, jobject object);
|
|
|
|
jobject newIPV6Address(JNIEnv *env, char *addr);
|
|
jobject newIPV4Address(JNIEnv *env, char *addr);
|
|
|
|
jobject newMulticastGroup(JNIEnv *env, const ZT1_MulticastGroup &mc);
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif |