mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-17 15:25:35 +00:00
273270916e
This commit reflects changes to clang-format rules. Unfortunately, these rule changes create a massive change to the codebase, which causes an apparent rewrite of git history. Git blame's --ignore-rev flag can be used to ignore this commit when attempting to `git blame` some code.
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
|