2015-04-21 01:31:42 +00:00
|
|
|
/* DO NOT EDIT THIS FILE - it is machine generated */
|
|
|
|
#include <jni.h>
|
|
|
|
/* Header for class com_zerotierone_sdk_Node */
|
|
|
|
|
|
|
|
#ifndef _Included_com_zerotierone_sdk_Node
|
|
|
|
#define _Included_com_zerotierone_sdk_Node
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2015-04-21 03:32:29 +00:00
|
|
|
/*
|
|
|
|
* Class: com_zerotierone_sdk_Node
|
|
|
|
* Method: node_init
|
|
|
|
* Signature: (J)Lcom/zerotierone/sdk/ResultCode;
|
|
|
|
*/
|
|
|
|
JNIEXPORT jobject JNICALL Java_com_zerotierone_sdk_Node_node_1init
|
|
|
|
(JNIEnv *, jobject, jlong);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: com_zerotierone_sdk_Node
|
|
|
|
* Method: node_delete
|
|
|
|
* Signature: (J)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL Java_com_zerotierone_sdk_Node_node_1delete
|
|
|
|
(JNIEnv *, jobject, jlong);
|
|
|
|
|
2015-04-21 01:31:42 +00:00
|
|
|
/*
|
|
|
|
* Class: com_zerotierone_sdk_Node
|
|
|
|
* Method: processVirtualNetworkFrame
|
2015-04-21 03:32:29 +00:00
|
|
|
* Signature: (JJJJJIILjava/nio/ByteBuffer;ILjava/lang/Long;)Lcom/zerotierone/sdk/ResultCode;
|
2015-04-21 01:31:42 +00:00
|
|
|
*/
|
|
|
|
JNIEXPORT jobject JNICALL Java_com_zerotierone_sdk_Node_processVirtualNetworkFrame
|
2015-04-21 03:32:29 +00:00
|
|
|
(JNIEnv *, jobject, jlong, jlong, jlong, jlong, jlong, jint, jint, jobject, jint, jobject);
|
2015-04-21 01:31:42 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: com_zerotierone_sdk_Node
|
|
|
|
* Method: processBackgroundTasks
|
2015-04-21 03:32:29 +00:00
|
|
|
* Signature: (JJLjava/lang/Long;)Lcom/zerotierone/sdk/ResultCode;
|
2015-04-21 01:31:42 +00:00
|
|
|
*/
|
|
|
|
JNIEXPORT jobject JNICALL Java_com_zerotierone_sdk_Node_processBackgroundTasks
|
2015-04-21 03:32:29 +00:00
|
|
|
(JNIEnv *, jobject, jlong, jlong, jobject);
|
2015-04-21 01:31:42 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: com_zerotierone_sdk_Node
|
|
|
|
* Method: join
|
2015-04-21 03:32:29 +00:00
|
|
|
* Signature: (JJ)Lcom/zerotierone/sdk/ResultCode;
|
2015-04-21 01:31:42 +00:00
|
|
|
*/
|
|
|
|
JNIEXPORT jobject JNICALL Java_com_zerotierone_sdk_Node_join
|
2015-04-21 03:32:29 +00:00
|
|
|
(JNIEnv *, jobject, jlong, jlong);
|
2015-04-21 01:31:42 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: com_zerotierone_sdk_Node
|
|
|
|
* Method: leave
|
2015-04-21 03:32:29 +00:00
|
|
|
* Signature: (JJ)Lcom/zerotierone/sdk/ResultCode;
|
2015-04-21 01:31:42 +00:00
|
|
|
*/
|
|
|
|
JNIEXPORT jobject JNICALL Java_com_zerotierone_sdk_Node_leave
|
2015-04-21 03:32:29 +00:00
|
|
|
(JNIEnv *, jobject, jlong, jlong);
|
2015-04-21 01:31:42 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: com_zerotierone_sdk_Node
|
|
|
|
* Method: multicastSubscribe
|
2015-04-21 03:32:29 +00:00
|
|
|
* Signature: (JJJJ)Lcom/zerotierone/sdk/ResultCode;
|
2015-04-21 01:31:42 +00:00
|
|
|
*/
|
|
|
|
JNIEXPORT jobject JNICALL Java_com_zerotierone_sdk_Node_multicastSubscribe
|
2015-04-21 03:32:29 +00:00
|
|
|
(JNIEnv *, jobject, jlong, jlong, jlong, jlong);
|
2015-04-21 01:31:42 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: com_zerotierone_sdk_Node
|
|
|
|
* Method: multicastUnsubscribe
|
2015-04-21 03:32:29 +00:00
|
|
|
* Signature: (JJJJ)Lcom/zerotierone/sdk/ResultCode;
|
2015-04-21 01:31:42 +00:00
|
|
|
*/
|
|
|
|
JNIEXPORT jobject JNICALL Java_com_zerotierone_sdk_Node_multicastUnsubscribe
|
2015-04-21 03:32:29 +00:00
|
|
|
(JNIEnv *, jobject, jlong, jlong, jlong, jlong);
|
2015-04-21 01:31:42 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: com_zerotierone_sdk_Node
|
|
|
|
* Method: address
|
2015-04-21 03:32:29 +00:00
|
|
|
* Signature: (J)J
|
2015-04-21 01:31:42 +00:00
|
|
|
*/
|
|
|
|
JNIEXPORT jlong JNICALL Java_com_zerotierone_sdk_Node_address
|
2015-04-21 03:32:29 +00:00
|
|
|
(JNIEnv *, jobject, jlong);
|
2015-04-21 01:31:42 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|