2015-04-20 18:31:42 -07:00
|
|
|
/* DO NOT EDIT THIS FILE - it is machine generated */
|
|
|
|
#include <jni.h>
|
2015-05-02 16:54:00 -07:00
|
|
|
/* Header for class com_zerotier_sdk_Node */
|
2015-04-20 18:31:42 -07:00
|
|
|
|
|
|
|
#ifndef _Included_com_zerotierone_sdk_Node
|
|
|
|
#define _Included_com_zerotierone_sdk_Node
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2015-04-20 20:32:29 -07:00
|
|
|
/*
|
2015-05-02 16:54:00 -07:00
|
|
|
* Class: com_zerotier_sdk_Node
|
2015-04-20 20:32:29 -07:00
|
|
|
* Method: node_init
|
2015-05-02 16:54:00 -07:00
|
|
|
* Signature: (J)Lcom/zerotier/sdk/ResultCode;
|
2015-04-20 20:32:29 -07:00
|
|
|
*/
|
2015-05-02 16:54:00 -07:00
|
|
|
JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_node_1init
|
2015-04-20 20:32:29 -07:00
|
|
|
(JNIEnv *, jobject, jlong);
|
|
|
|
|
|
|
|
/*
|
2015-05-02 16:54:00 -07:00
|
|
|
* Class: com_zerotier_sdk_Node
|
2015-04-20 20:32:29 -07:00
|
|
|
* Method: node_delete
|
|
|
|
* Signature: (J)V
|
|
|
|
*/
|
2015-05-02 16:54:00 -07:00
|
|
|
JNIEXPORT void JNICALL Java_com_zerotier_sdk_Node_node_1delete
|
2015-04-20 20:32:29 -07:00
|
|
|
(JNIEnv *, jobject, jlong);
|
|
|
|
|
2015-04-20 18:31:42 -07:00
|
|
|
/*
|
2015-05-02 16:54:00 -07:00
|
|
|
* Class: com_zerotier_sdk_Node
|
2015-04-20 18:31:42 -07:00
|
|
|
* Method: processVirtualNetworkFrame
|
2015-05-02 16:54:00 -07:00
|
|
|
* Signature: (JJJJJII[B[J)Lcom/zerotier/sdk/ResultCode;
|
2015-04-20 18:31:42 -07:00
|
|
|
*/
|
2015-05-02 16:54:00 -07:00
|
|
|
JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_processVirtualNetworkFrame
|
2015-04-22 19:18:49 -07:00
|
|
|
(JNIEnv *, jobject, jlong, jlong, jlong, jlong, jlong, jint, jint, jbyteArray, jlongArray);
|
|
|
|
|
|
|
|
/*
|
2015-05-02 16:54:00 -07:00
|
|
|
* Class: com_zerotier_sdk_Node
|
2015-04-22 19:18:49 -07:00
|
|
|
* Method: processWirePacket
|
2015-09-26 13:47:55 -07:00
|
|
|
* Signature: (JJLjava/net/InetSockAddress;Ljava/net/InetSockAddress;[B[J)Lcom/zerotier/sdk/ResultCode;
|
2015-04-22 19:18:49 -07:00
|
|
|
*/
|
2015-05-02 16:54:00 -07:00
|
|
|
JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_processWirePacket
|
2017-07-12 11:34:53 -07:00
|
|
|
(JNIEnv *, jobject, jlong, jlong, jlong, jobject, jbyteArray, jlongArray);
|
2015-04-20 18:31:42 -07:00
|
|
|
|
|
|
|
/*
|
2015-05-02 16:54:00 -07:00
|
|
|
* Class: com_zerotier_sdk_Node
|
2015-04-20 18:31:42 -07:00
|
|
|
* Method: processBackgroundTasks
|
2015-05-02 16:54:00 -07:00
|
|
|
* Signature: (JJ[J)Lcom/zerotier/sdk/ResultCode;
|
2015-04-20 18:31:42 -07:00
|
|
|
*/
|
2015-05-02 16:54:00 -07:00
|
|
|
JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_processBackgroundTasks
|
2015-04-22 19:18:49 -07:00
|
|
|
(JNIEnv *, jobject, jlong, jlong, jlongArray);
|
2015-04-20 18:31:42 -07:00
|
|
|
|
|
|
|
/*
|
2015-05-02 16:54:00 -07:00
|
|
|
* Class: com_zerotier_sdk_Node
|
2015-04-20 18:31:42 -07:00
|
|
|
* Method: join
|
2015-05-02 16:54:00 -07:00
|
|
|
* Signature: (JJ)Lcom/zerotier/sdk/ResultCode;
|
2015-04-20 18:31:42 -07:00
|
|
|
*/
|
2015-05-02 16:54:00 -07:00
|
|
|
JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_join
|
2015-04-20 20:32:29 -07:00
|
|
|
(JNIEnv *, jobject, jlong, jlong);
|
2015-04-20 18:31:42 -07:00
|
|
|
|
|
|
|
/*
|
2015-05-02 16:54:00 -07:00
|
|
|
* Class: com_zerotier_sdk_Node
|
2015-04-20 18:31:42 -07:00
|
|
|
* Method: leave
|
2015-05-02 16:54:00 -07:00
|
|
|
* Signature: (JJ)Lcom/zerotier/sdk/ResultCode;
|
2015-04-20 18:31:42 -07:00
|
|
|
*/
|
2015-05-02 16:54:00 -07:00
|
|
|
JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_leave
|
2015-04-20 20:32:29 -07:00
|
|
|
(JNIEnv *, jobject, jlong, jlong);
|
2015-04-20 18:31:42 -07:00
|
|
|
|
|
|
|
/*
|
2015-05-02 16:54:00 -07:00
|
|
|
* Class: com_zerotier_sdk_Node
|
2015-04-20 18:31:42 -07:00
|
|
|
* Method: multicastSubscribe
|
2015-05-02 16:54:00 -07:00
|
|
|
* Signature: (JJJJ)Lcom/zerotier/sdk/ResultCode;
|
2015-04-20 18:31:42 -07:00
|
|
|
*/
|
2015-05-02 16:54:00 -07:00
|
|
|
JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_multicastSubscribe
|
2015-04-20 20:32:29 -07:00
|
|
|
(JNIEnv *, jobject, jlong, jlong, jlong, jlong);
|
2015-04-20 18:31:42 -07:00
|
|
|
|
|
|
|
/*
|
2015-05-02 16:54:00 -07:00
|
|
|
* Class: com_zerotier_sdk_Node
|
2015-04-20 18:31:42 -07:00
|
|
|
* Method: multicastUnsubscribe
|
2015-05-02 16:54:00 -07:00
|
|
|
* Signature: (JJJJ)Lcom/zerotier/sdk/ResultCode;
|
2015-04-20 18:31:42 -07:00
|
|
|
*/
|
2015-05-02 16:54:00 -07:00
|
|
|
JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_multicastUnsubscribe
|
2015-04-20 20:32:29 -07:00
|
|
|
(JNIEnv *, jobject, jlong, jlong, jlong, jlong);
|
2015-04-20 18:31:42 -07:00
|
|
|
|
|
|
|
/*
|
2015-05-02 16:54:00 -07:00
|
|
|
* Class: com_zerotier_sdk_Node
|
2015-04-20 18:31:42 -07:00
|
|
|
* Method: address
|
2015-04-20 20:32:29 -07:00
|
|
|
* Signature: (J)J
|
2015-04-20 18:31:42 -07:00
|
|
|
*/
|
2015-05-02 16:54:00 -07:00
|
|
|
JNIEXPORT jlong JNICALL Java_com_zerotier_sdk_Node_address
|
2015-04-20 20:32:29 -07:00
|
|
|
(JNIEnv *, jobject, jlong);
|
2015-04-20 18:31:42 -07:00
|
|
|
|
2015-04-22 19:36:46 -07:00
|
|
|
/*
|
2015-05-02 16:54:00 -07:00
|
|
|
* Class: com_zerotier_sdk_Node
|
2015-04-22 19:36:46 -07:00
|
|
|
* Method: status
|
2015-05-02 16:54:00 -07:00
|
|
|
* Signature: (J)Lcom/zerotier/sdk/NodeStatus;
|
2015-04-22 19:36:46 -07:00
|
|
|
*/
|
2015-05-02 16:54:00 -07:00
|
|
|
JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_status
|
2015-04-22 19:36:46 -07:00
|
|
|
(JNIEnv *, jobject, jlong);
|
|
|
|
|
|
|
|
/*
|
2015-05-02 16:54:00 -07:00
|
|
|
* Class: com_zerotier_sdk_Node
|
2015-04-22 19:36:46 -07:00
|
|
|
* Method: networkConfig
|
2015-05-02 16:54:00 -07:00
|
|
|
* Signature: (JJ)Lcom/zerotier/sdk/VirtualNetworkConfig;
|
2015-04-22 19:36:46 -07:00
|
|
|
*/
|
2015-05-02 16:54:00 -07:00
|
|
|
JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_networkConfig
|
2015-04-22 21:28:42 -07:00
|
|
|
(JNIEnv *, jobject, jlong, jlong);
|
2015-04-22 19:36:46 -07:00
|
|
|
|
|
|
|
/*
|
2015-05-02 16:54:00 -07:00
|
|
|
* Class: com_zerotier_sdk_Node
|
2015-04-22 19:36:46 -07:00
|
|
|
* Method: version
|
2015-05-02 16:54:00 -07:00
|
|
|
* Signature: ()Lcom/zerotier/sdk/Version;
|
2015-04-22 19:36:46 -07:00
|
|
|
*/
|
2015-05-02 16:54:00 -07:00
|
|
|
JNIEXPORT jobject JNICALL Java_com_zerotier_sdk_Node_version
|
2015-04-22 21:29:45 -07:00
|
|
|
(JNIEnv *, jobject);
|
2015-04-22 19:36:46 -07:00
|
|
|
|
2015-04-23 23:08:28 -07:00
|
|
|
/*
|
2015-05-02 16:54:00 -07:00
|
|
|
* Class: com_zerotier_sdk_Node
|
2015-04-23 23:08:28 -07:00
|
|
|
* Method: peers
|
2015-05-28 20:36:54 -07:00
|
|
|
* Signature: (J)[Lcom/zerotier/sdk/Peer;
|
2015-04-23 23:08:28 -07:00
|
|
|
*/
|
2015-05-28 20:36:54 -07:00
|
|
|
JNIEXPORT jobjectArray JNICALL Java_com_zerotier_sdk_Node_peers
|
2015-04-23 23:08:28 -07:00
|
|
|
(JNIEnv *, jobject, jlong);
|
|
|
|
|
|
|
|
/*
|
2015-05-02 16:54:00 -07:00
|
|
|
* Class: com_zerotier_sdk_Node
|
2015-04-23 23:08:28 -07:00
|
|
|
* Method: networks
|
2015-05-28 20:36:54 -07:00
|
|
|
* Signature: (J)[Lcom/zerotier/sdk/VirtualNetworkConfig;
|
2015-04-23 23:08:28 -07:00
|
|
|
*/
|
2015-05-28 20:36:54 -07:00
|
|
|
JNIEXPORT jobjectArray JNICALL Java_com_zerotier_sdk_Node_networks
|
2015-04-23 23:08:28 -07:00
|
|
|
(JNIEnv *, jobject, jlong);
|
|
|
|
|
2015-04-20 18:31:42 -07:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|