-
Notifications
You must be signed in to change notification settings - Fork 3
/
com_github_barismeral_ports_SerialPort.h
61 lines (54 loc) · 1.62 KB
/
com_github_barismeral_ports_SerialPort.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class com_github_barismeral_ports_SerialPort */
#ifndef _Included_com_github_barismeral_ports_SerialPort
#define _Included_com_github_barismeral_ports_SerialPort
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: com_github_barismeral_ports_SerialPort
* Method: openPort
* Signature: (Ljava/lang/String;)J
*/
JNIEXPORT jlong JNICALL Java_com_github_barismeral_ports_SerialPort_openPort
(JNIEnv *, jobject, jstring);
/*
* Class: com_github_barismeral_ports_SerialPort
* Method: closePort
* Signature: (J)Z
*/
JNIEXPORT jboolean JNICALL Java_com_github_barismeral_ports_SerialPort_closePort
(JNIEnv *, jobject, jlong);
/*
* Class: com_github_barismeral_ports_SerialPort
* Method: setParam
* Signature: (JIIII)Z
*/
JNIEXPORT jboolean JNICALL Java_com_github_barismeral_ports_SerialPort_setParam
(JNIEnv *, jobject, jlong, jint, jint, jint, jint);
/*
* Class: com_github_barismeral_ports_SerialPort
* Method: write
* Signature: (J[B)Z
*/
JNIEXPORT jboolean JNICALL Java_com_github_barismeral_ports_SerialPort_write
(JNIEnv *, jobject, jlong, jbyteArray);
/*
* Class: com_github_barismeral_ports_SerialPort
* Method: read
* Signature: (JI)[B
*/
JNIEXPORT jbyteArray JNICALL Java_com_github_barismeral_ports_SerialPort_read
(JNIEnv *, jobject, jlong, jint);
/*
* Class: com_github_barismeral_ports_SerialPort
* Method: purgePort
* Signature: (J)Z
*/
JNIEXPORT jboolean JNICALL Java_com_github_barismeral_ports_SerialPort_purgePort
(JNIEnv *, jobject, jlong);
#ifdef __cplusplus
}
#endif
#endif