2018-08-05 23:49:23 +00:00
|
|
|
/* DO NOT EDIT THIS FILE - it is machine generated */
|
|
|
|
#include <jni.h>
|
|
|
|
/* Header for class network_loki_lokinet_Lokinet_JNI */
|
|
|
|
|
|
|
|
#ifndef _Included_network_loki_lokinet_Lokinet_JNI
|
|
|
|
#define _Included_network_loki_lokinet_Lokinet_JNI
|
|
|
|
#ifdef __cplusplus
|
2019-04-08 15:54:19 +00:00
|
|
|
extern "C"
|
|
|
|
{
|
2018-08-05 23:49:23 +00:00
|
|
|
#endif
|
2019-04-08 15:54:19 +00:00
|
|
|
/*
|
|
|
|
* Class: network_loki_lokinet_Lokinet_JNI
|
|
|
|
* Method: getABICompiledWith
|
|
|
|
* Signature: ()Ljava/lang/String;
|
|
|
|
*/
|
|
|
|
JNIEXPORT jstring JNICALL
|
|
|
|
Java_network_loki_lokinet_Lokinet_1JNI_getABICompiledWith(JNIEnv *, jclass);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: network_loki_lokinet_Lokinet_JNI
|
|
|
|
* Method: startLokinet
|
|
|
|
* Signature: (Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
*/
|
|
|
|
JNIEXPORT jstring JNICALL
|
|
|
|
Java_network_loki_lokinet_Lokinet_1JNI_startLokinet(JNIEnv *, jclass,
|
|
|
|
jstring);
|
|
|
|
|
|
|
|
JNIEXPORT jstring JNICALL
|
|
|
|
Java_network_loki_lokinet_Lokinet_1JNI_getIfAddr(JNIEnv *, jclass);
|
|
|
|
|
|
|
|
JNIEXPORT jint JNICALL
|
|
|
|
Java_network_loki_lokinet_Lokinet_1JNI_getIfRange(JNIEnv *, jclass);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: network_loki_lokinet_Lokinet_JNI
|
|
|
|
* Method: stopLokinet
|
|
|
|
* Signature: ()V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
Java_network_loki_lokinet_Lokinet_1JNI_stopLokinet(JNIEnv *, jclass);
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
Java_network_loki_lokinet_Lokinet_1JNI_setVPNFileDescriptor(JNIEnv *, jclass,
|
|
|
|
jint, jint);
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Class: network_loki_lokinet_Lokinet_JNI
|
|
|
|
* Method: onNetworkStateChanged
|
|
|
|
* Signature: (Z)V
|
|
|
|
*/
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
Java_network_loki_lokinet_Lokinet_1JNI_onNetworkStateChanged(JNIEnv *, jclass,
|
|
|
|
jboolean);
|
2018-08-05 23:49:23 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|