2015-04-21 01:31:42 +00:00
|
|
|
/* DO NOT EDIT THIS FILE - it is machine generated */
|
|
|
|
#include <jni.h>
|
2015-05-02 23:54:00 +00:00
|
|
|
/* Header for class com_zerotier_sdk_Node */
|
2015-04-21 01:31:42 +00:00
|
|
|
|
|
|
|
#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
|
|
|
/*
|
2015-05-02 23:54:00 +00:00
|
|
|
* Class: com_zerotier_sdk_Node
|
2015-04-21 03:32:29 +00:00
|
|
|
* Method: node_init
|
2015-05-02 23:54:00 +00:00
|
|
|
* Signature: (J)Lcom/zerotier/sdk/ResultCode;
|
2015-04-21 03:32:29 +00:00
|
|
|
*/
|
2015-05-02 23:54:00 +00:00
|
|
|
JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_node_1init
|
2015-04-21 03:32:29 +00:00
|
|
|
(JNIEnv *, jobject, jlong);
|
|
|
|
|
|
|
|
/*
|
2015-05-02 23:54:00 +00:00
|
|
|
* Class: com_zerotier_sdk_Node
|
2015-04-21 03:32:29 +00:00
|
|
|
* Method: node_delete
|
|
|
|
* Signature: (J)V
|
|
|
|
*/
|
2015-05-02 23:54:00 +00:00
|
|
|
JNIEXPORT void JNICALL Java_com_zerotier_sdk_Node_node_1delete
|
2015-04-21 03:32:29 +00:00
|
|
|
(JNIEnv *, jobject, jlong);
|
|
|
|
|
2015-04-21 01:31:42 +00:00
|
|
|
/*
|
2015-05-02 23:54:00 +00:00
|
|
|
* Class: com_zerotier_sdk_Node
|
2015-04-21 01:31:42 +00:00
|
|
|
* Method: processVirtualNetworkFrame
|
2015-05-02 23:54:00 +00:00
|
|
|
* Signature: (JJJJJII[B[J)Lcom/zerotier/sdk/ResultCode;
|
2015-04-21 01:31:42 +00:00
|
|
|
*/
|
2015-05-02 23:54:00 +00:00
|
|
|
JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_processVirtualNetworkFrame
|
2015-04-23 02:18:49 +00:00
|
|
|
(JNIEnv *, jobject, jlong, jlong, jlong, jlong, jlong, jint, jint, jbyteArray, jlongArray);
|
|
|
|
|
|
|
|
/*
|
2015-05-02 23:54:00 +00:00
|
|
|
* Class: com_zerotier_sdk_Node
|
2015-04-23 02:18:49 +00:00
|
|
|
* Method: processWirePacket
|
2015-05-22 02:34:19 +00:00
|
|
|
* Signature: (JJLjava/net/InetSockAddress;[B[J)Lcom/zerotier/sdk/ResultCode;
|
2015-04-23 02:18:49 +00:00
|
|
|
*/
|
2015-05-02 23:54:00 +00:00
|
|
|
JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_processWirePacket
|
2015-05-22 02:34:19 +00:00
|
|
|
(JNIEnv *, jobject, jlong, jlong, jobject, jbyteArray, jlongArray);
|
2015-04-21 01:31:42 +00:00
|
|
|
|
|
|
|
/*
|
2015-05-02 23:54:00 +00:00
|
|
|
* Class: com_zerotier_sdk_Node
|
2015-04-21 01:31:42 +00:00
|
|
|
* Method: processBackgroundTasks
|
2015-05-02 23:54:00 +00:00
|
|
|
* Signature: (JJ[J)Lcom/zerotier/sdk/ResultCode;
|
2015-04-21 01:31:42 +00:00
|
|
|
*/
|
2015-05-02 23:54:00 +00:00
|
|
|
JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_processBackgroundTasks
|
2015-04-23 02:18:49 +00:00
|
|
|
(JNIEnv *, jobject, jlong, jlong, jlongArray);
|
2015-04-21 01:31:42 +00:00
|
|
|
|
|
|
|
/*
|
2015-05-02 23:54:00 +00:00
|
|
|
* Class: com_zerotier_sdk_Node
|
2015-04-21 01:31:42 +00:00
|
|
|
* Method: join
|
2015-05-02 23:54:00 +00:00
|
|
|
* Signature: (JJ)Lcom/zerotier/sdk/ResultCode;
|
2015-04-21 01:31:42 +00:00
|
|
|
*/
|
2015-05-02 23:54:00 +00:00
|
|
|
JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_join
|
2015-04-21 03:32:29 +00:00
|
|
|
(JNIEnv *, jobject, jlong, jlong);
|
2015-04-21 01:31:42 +00:00
|
|
|
|
|
|
|
/*
|
2015-05-02 23:54:00 +00:00
|
|
|
* Class: com_zerotier_sdk_Node
|
2015-04-21 01:31:42 +00:00
|
|
|
* Method: leave
|
2015-05-02 23:54:00 +00:00
|
|
|
* Signature: (JJ)Lcom/zerotier/sdk/ResultCode;
|
2015-04-21 01:31:42 +00:00
|
|
|
*/
|
2015-05-02 23:54:00 +00:00
|
|
|
JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_leave
|
2015-04-21 03:32:29 +00:00
|
|
|
(JNIEnv *, jobject, jlong, jlong);
|
2015-04-21 01:31:42 +00:00
|
|
|
|
|
|
|
/*
|
2015-05-02 23:54:00 +00:00
|
|
|
* Class: com_zerotier_sdk_Node
|
2015-04-21 01:31:42 +00:00
|
|
|
* Method: multicastSubscribe
|
2015-05-02 23:54:00 +00:00
|
|
|
* Signature: (JJJJ)Lcom/zerotier/sdk/ResultCode;
|
2015-04-21 01:31:42 +00:00
|
|
|
*/
|
2015-05-02 23:54:00 +00:00
|
|
|
JNIEXPORT jobject JNICALL Java_com_zerotier_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
|
|
|
|
|
|
|
/*
|
2015-05-02 23:54:00 +00:00
|
|
|
* Class: com_zerotier_sdk_Node
|
2015-04-21 01:31:42 +00:00
|
|
|
* Method: multicastUnsubscribe
|
2015-05-02 23:54:00 +00:00
|
|
|
* Signature: (JJJJ)Lcom/zerotier/sdk/ResultCode;
|
2015-04-21 01:31:42 +00:00
|
|
|
*/
|
2015-05-02 23:54:00 +00:00
|
|
|
JNIEXPORT jobject JNICALL Java_com_zerotier_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
|
|
|
|
|
|
|
/*
|
2015-05-02 23:54:00 +00:00
|
|
|
* Class: com_zerotier_sdk_Node
|
2015-04-21 01:31:42 +00:00
|
|
|
* Method: address
|
2015-04-21 03:32:29 +00:00
|
|
|
* Signature: (J)J
|
2015-04-21 01:31:42 +00:00
|
|
|
*/
|
2015-05-02 23:54:00 +00:00
|
|
|
JNIEXPORT jlong JNICALL Java_com_zerotier_sdk_Node_address
|
2015-04-21 03:32:29 +00:00
|
|
|
(JNIEnv *, jobject, jlong);
|
2015-04-21 01:31:42 +00:00
|
|
|
|
2015-04-23 02:36:46 +00:00
|
|
|
/*
|
2015-05-02 23:54:00 +00:00
|
|
|
* Class: com_zerotier_sdk_Node
|
2015-04-23 02:36:46 +00:00
|
|
|
* Method: status
|
2015-05-02 23:54:00 +00:00
|
|
|
* Signature: (J)Lcom/zerotier/sdk/NodeStatus;
|
2015-04-23 02:36:46 +00:00
|
|
|
*/
|
2015-05-02 23:54:00 +00:00
|
|
|
JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_status
|
2015-04-23 02:36:46 +00:00
|
|
|
(JNIEnv *, jobject, jlong);
|
|
|
|
|
|
|
|
/*
|
2015-05-02 23:54:00 +00:00
|
|
|
* Class: com_zerotier_sdk_Node
|
2015-04-23 02:36:46 +00:00
|
|
|
* Method: networkConfig
|
2015-05-02 23:54:00 +00:00
|
|
|
* Signature: (JJ)Lcom/zerotier/sdk/VirtualNetworkConfig;
|
2015-04-23 02:36:46 +00:00
|
|
|
*/
|
2015-05-02 23:54:00 +00:00
|
|
|
JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_networkConfig
|
2015-04-23 04:28:42 +00:00
|
|
|
(JNIEnv *, jobject, jlong, jlong);
|
2015-04-23 02:36:46 +00:00
|
|
|
|
|
|
|
/*
|
2015-05-02 23:54:00 +00:00
|
|
|
* Class: com_zerotier_sdk_Node
|
2015-04-23 02:36:46 +00:00
|
|
|
* Method: version
|
2015-05-02 23:54:00 +00:00
|
|
|
* Signature: ()Lcom/zerotier/sdk/Version;
|
2015-04-23 02:36:46 +00:00
|
|
|
*/
|
2015-05-02 23:54:00 +00:00
|
|
|
JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_version
|
2015-04-23 04:29:45 +00:00
|
|
|
(JNIEnv *, jobject);
|
2015-04-23 02:36:46 +00:00
|
|
|
|
2015-04-24 06:08:28 +00:00
|
|
|
/*
|
2015-05-02 23:54:00 +00:00
|
|
|
* Class: com_zerotier_sdk_Node
|
2015-04-24 06:08:28 +00:00
|
|
|
* Method: peers
|
|
|
|
* Signature: (J)Ljava/util/ArrayList;
|
|
|
|
*/
|
2015-05-02 23:54:00 +00:00
|
|
|
JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_peers
|
2015-04-24 06:08:28 +00:00
|
|
|
(JNIEnv *, jobject, jlong);
|
|
|
|
|
|
|
|
/*
|
2015-05-02 23:54:00 +00:00
|
|
|
* Class: com_zerotier_sdk_Node
|
2015-04-24 06:08:28 +00:00
|
|
|
* Method: networks
|
|
|
|
* Signature: (J)Ljava/util/ArrayList;
|
|
|
|
*/
|
2015-05-02 23:54:00 +00:00
|
|
|
JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_networks
|
2015-04-24 06:08:28 +00:00
|
|
|
(JNIEnv *, jobject, jlong);
|
|
|
|
|
2015-04-21 01:31:42 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|