mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-15 12:13:24 +00:00
70 lines
1.8 KiB
C
70 lines
1.8 KiB
C
/* DO NOT EDIT THIS FILE - it is machine generated */
|
|
#include <jni.h>
|
|
/* Header for class network_loki_lokinet_LokinetVPN */
|
|
|
|
#ifndef _Included_network_loki_lokinet_LokinetVPN
|
|
#define _Included_network_loki_lokinet_LokinetVPN
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
/*
|
|
* Class: network_loki_lokinet_LokinetVPN
|
|
* Method: PacketSize
|
|
* Signature: ()I
|
|
*/
|
|
JNIEXPORT jint JNICALL
|
|
Java_network_loki_lokinet_LokinetVPN_PacketSize(JNIEnv *, jclass);
|
|
|
|
/*
|
|
* Class: network_loki_lokinet_LokinetVPN
|
|
* Method: Alloc
|
|
* Signature: ()Ljava/nio/Buffer;
|
|
*/
|
|
JNIEXPORT jobject JNICALL
|
|
Java_network_loki_lokinet_LokinetVPN_Alloc(JNIEnv *, jclass);
|
|
|
|
/*
|
|
* Class: network_loki_lokinet_LokinetVPN
|
|
* Method: Free
|
|
* Signature: (Ljava/nio/Buffer;)V
|
|
*/
|
|
JNIEXPORT void JNICALL
|
|
Java_network_loki_lokinet_LokinetVPN_Free(JNIEnv *, jclass, jobject);
|
|
|
|
/*
|
|
* Class: network_loki_lokinet_LokinetVPN
|
|
* Method: Stop
|
|
* Signature: ()V
|
|
*/
|
|
JNIEXPORT void JNICALL
|
|
Java_network_loki_lokinet_LokinetVPN_Stop(JNIEnv *, jobject);
|
|
|
|
/*
|
|
* Class: network_loki_lokinet_LokinetVPN
|
|
* Method: ReadPkt
|
|
* Signature: (Ljava/nio/ByteBuffer;)I
|
|
*/
|
|
JNIEXPORT jint JNICALL
|
|
Java_network_loki_lokinet_LokinetVPN_ReadPkt(JNIEnv *, jobject, jobject);
|
|
|
|
/*
|
|
* Class: network_loki_lokinet_LokinetVPN
|
|
* Method: WritePkt
|
|
* Signature: (Ljava/nio/ByteBuffer;)Z
|
|
*/
|
|
JNIEXPORT jboolean JNICALL
|
|
Java_network_loki_lokinet_LokinetVPN_WritePkt(JNIEnv *, jobject, jobject);
|
|
|
|
/*
|
|
* Class: network_loki_lokinet_LokinetVPN
|
|
* Method: SetInfo
|
|
* Signature: (Lnetwork/loki/lokinet/LokinetVPN/VPNInfo;)V
|
|
*/
|
|
JNIEXPORT void JNICALL
|
|
Java_network_loki_lokinet_LokinetVPN_SetInfo(JNIEnv *, jobject, jobject);
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|