2019-10-08 14:52:01 +00:00
|
|
|
/* DO NOT EDIT THIS FILE - it is machine generated */
|
|
|
|
#include <jni.h>
|
|
|
|
/* Header for class network_loki_lokinet_LokinetDaemon */
|
|
|
|
|
|
|
|
#ifndef _Included_network_loki_lokinet_LokinetDaemon
|
|
|
|
#define _Included_network_loki_lokinet_LokinetDaemon
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
#endif
|
|
|
|
/*
|
|
|
|
* Class: network_loki_lokinet_LokinetDaemon
|
|
|
|
* Method: Obtain
|
2021-03-02 18:18:22 +00:00
|
|
|
* Signature: ()Ljava/nio/ByteBuffer;
|
2019-10-08 14:52:01 +00:00
|
|
|
*/
|
|
|
|
JNIEXPORT jobject JNICALL
|
2020-04-07 18:38:56 +00:00
|
|
|
Java_network_loki_lokinet_LokinetDaemon_Obtain(JNIEnv*, jclass);
|
2019-10-08 14:52:01 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: network_loki_lokinet_LokinetDaemon
|
|
|
|
* Method: Free
|
2021-03-02 18:18:22 +00:00
|
|
|
* Signature: (Ljava/nio/ByteBuffer;)V
|
2019-10-08 14:52:01 +00:00
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL
|
2020-04-07 18:38:56 +00:00
|
|
|
Java_network_loki_lokinet_LokinetDaemon_Free(JNIEnv*, jclass, jobject);
|
2019-10-08 14:52:01 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: network_loki_lokinet_LokinetDaemon
|
|
|
|
* Method: Configure
|
|
|
|
* Signature: (Lnetwork/loki/lokinet/LokinetConfig;)Z
|
|
|
|
*/
|
|
|
|
JNIEXPORT jboolean JNICALL
|
2020-04-07 18:38:56 +00:00
|
|
|
Java_network_loki_lokinet_LokinetDaemon_Configure(JNIEnv*, jobject, jobject);
|
2019-10-08 14:52:01 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: network_loki_lokinet_LokinetDaemon
|
|
|
|
* Method: Mainloop
|
|
|
|
* Signature: ()I
|
|
|
|
*/
|
|
|
|
JNIEXPORT jint JNICALL
|
2020-04-07 18:38:56 +00:00
|
|
|
Java_network_loki_lokinet_LokinetDaemon_Mainloop(JNIEnv*, jobject);
|
2019-10-08 14:52:01 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: network_loki_lokinet_LokinetDaemon
|
|
|
|
* Method: IsRunning
|
|
|
|
* Signature: ()Z
|
|
|
|
*/
|
|
|
|
JNIEXPORT jboolean JNICALL
|
2020-04-07 18:38:56 +00:00
|
|
|
Java_network_loki_lokinet_LokinetDaemon_IsRunning(JNIEnv*, jobject);
|
2019-10-08 14:52:01 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: network_loki_lokinet_LokinetDaemon
|
|
|
|
* Method: Stop
|
|
|
|
* Signature: ()Z
|
|
|
|
*/
|
|
|
|
JNIEXPORT jboolean JNICALL
|
2020-04-07 18:38:56 +00:00
|
|
|
Java_network_loki_lokinet_LokinetDaemon_Stop(JNIEnv*, jobject);
|
2019-10-08 14:52:01 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: network_loki_lokinet_LokinetDaemon
|
2021-03-02 18:18:22 +00:00
|
|
|
* Method: InjectVPNFD
|
|
|
|
* Signature: ()V
|
2019-10-08 14:52:01 +00:00
|
|
|
*/
|
2021-03-02 18:18:22 +00:00
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
Java_network_loki_lokinet_LokinetDaemon_InjectVPNFD(JNIEnv*, jobject);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: network_loki_lokinet_LokinetDaemon
|
|
|
|
* Method: GetUDPSocket
|
|
|
|
* Signature: ()I
|
|
|
|
*/
|
|
|
|
JNIEXPORT jint JNICALL
|
|
|
|
Java_network_loki_lokinet_LokinetDaemon_GetUDPSocket(JNIEnv*, jobject);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: network_loki_lokinet_LokinetDaemon
|
|
|
|
* Method: DetectFreeRange
|
|
|
|
* Signature: ()Ljava/lang/String;
|
|
|
|
*/
|
|
|
|
JNIEXPORT jstring JNICALL
|
|
|
|
Java_network_loki_lokinet_LokinetDaemon_DetectFreeRange(JNIEnv*, jclass);
|
2019-10-08 14:52:01 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|